You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@znep.com> on 1997/02/16 10:42:18 UTC
[PATCH] fix warning on SunOS4
The below patch removes a warning (non -Wall) when compiling on SunOS4.
Index: httpd.h
===================================================================
RCS file: /export/home/cvs/apache/src/httpd.h,v
retrieving revision 1.85
diff -c -r1.85 httpd.h
*** httpd.h 1997/01/27 00:25:51 1.85
--- httpd.h 1997/02/16 09:41:15
***************
*** 672,678 ****
int rind (const char *, char);
int cfg_getline(char *s, int n, FILE *f);
!
/* Misc system hackery */
uid_t uname2id(const char *name);
--- 672,682 ----
int rind (const char *, char);
int cfg_getline(char *s, int n, FILE *f);
!
! #ifdef NEED_STRERROR
! char *strerror (int err);
! #endif
!
/* Misc system hackery */
uid_t uname2id(const char *name);
Re: [PATCH] fix warning on SunOS4
Posted by Brian Behlendorf <br...@organic.com>.
+1.
On Sun, 16 Feb 1997, Marc Slemko wrote:
> The below patch removes a warning (non -Wall) when compiling on SunOS4.
>
> Index: httpd.h
> ===================================================================
> RCS file: /export/home/cvs/apache/src/httpd.h,v
> retrieving revision 1.85
> diff -c -r1.85 httpd.h
> *** httpd.h 1997/01/27 00:25:51 1.85
> --- httpd.h 1997/02/16 09:41:15
> ***************
> *** 672,678 ****
> int rind (const char *, char);
>
> int cfg_getline(char *s, int n, FILE *f);
> !
> /* Misc system hackery */
>
> uid_t uname2id(const char *name);
> --- 672,682 ----
> int rind (const char *, char);
>
> int cfg_getline(char *s, int n, FILE *f);
> !
> ! #ifdef NEED_STRERROR
> ! char *strerror (int err);
> ! #endif
> !
> /* Misc system hackery */
>
> uid_t uname2id(const char *name);
>
>
>
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com www.apache.org hyperreal.com http://www.organic.com/JOBS