You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Robert S. Thau" <rs...@ai.mit.edu> on 1995/08/12 18:33:57 UTC

SGI compilation patch...

This makes Apache compile clean with SGI 'cc' --- add two 'extern's
that were missing from header files, delete one trailing comma.

diff -c ../x/alloc.h ./alloc.h
*** ../x/alloc.h	Mon Jul 31 20:43:55 1995
--- ./alloc.h	Sat Aug 12 11:04:42 1995
***************
*** 80,86 ****
  
  typedef struct pool pool;
  
! pool *permanent_pool;
  void init_alloc();		/* Set up everything */
  pool *make_sub_pool (pool *);	/* All pools are subpools of permanent_pool */
  void destroy_pool (pool *);
--- 80,86 ----
  
  typedef struct pool pool;
  
! extern pool *permanent_pool;
  void init_alloc();		/* Set up everything */
  pool *make_sub_pool (pool *);	/* All pools are subpools of permanent_pool */
  void destroy_pool (pool *);
diff -c ../x/http_config.h ./http_config.h
*** ../x/http_config.h	Mon Jul 31 20:45:08 1995
--- ./http_config.h	Sat Aug 12 11:03:12 1995
***************
*** 73,79 ****
  				 * (e.g., AddIcon)
  				 */
    FLAG,				/* One of 'On' or 'Off' */
!   NO_ARGS,			/* No args at all, e.g. </Directory> */
  };
  
  typedef struct command_struct {
--- 73,79 ----
  				 * (e.g., AddIcon)
  				 */
    FLAG,				/* One of 'On' or 'Off' */
!   NO_ARGS			/* No args at all, e.g. </Directory> */
  };
  
  typedef struct command_struct {
diff -c ../x/http_core.h ./http_core.h
*** ../x/http_core.h	Mon Jul 31 20:45:13 1995
--- ./http_core.h	Sat Aug 12 11:07:50 1995
***************
*** 115,121 ****
  
  char *response_code_string (request_rec *r, int error_index);
  
! module core_module;
  
  /* Per-directory configuration */
  
--- 115,121 ----
  
  char *response_code_string (request_rec *r, int error_index);
  
! extern module core_module;
  
  /* Per-directory configuration */