From: wessels <> Date: Tue, 17 Sep 1996 22:53:53 +0000 (+0000) Subject: ansiproto.h readjustment X-Git-Tag: SQUID_3_0_PRE1~5771 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=473471f247431920f1447e338e9d3da94e695eb7;p=thirdparty%2Fsquid.git ansiproto.h readjustment --- diff --git a/ChangeLog b/ChangeLog index 59b4a5594a..a2dc08a4ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ Changes to squid-1.1.beta3 (): - s/()/(void)/ - Fixed 8k page leak in icmpRecv(). + - Use strerror() if available instead of sys_errlist[]. + - Misc ANSI-related cleanup. Changes to squid-1.1.beta2 (September 16, 1996): diff --git a/lib/getfullhostname.c b/lib/getfullhostname.c index 70a972ca11..9031f835e6 100644 --- a/lib/getfullhostname.c +++ b/lib/getfullhostname.c @@ -1,6 +1,6 @@ /* - * $Id: getfullhostname.c,v 1.7 1996/09/17 02:29:46 wessels Exp $ + * $Id: getfullhostname.c,v 1.8 1996/09/17 16:53:56 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -136,6 +136,7 @@ #include #endif +#include "ansiproto.h" #include "util.h" /* diff --git a/lib/rfc1738.c b/lib/rfc1738.c index cd38939232..9574856373 100644 --- a/lib/rfc1738.c +++ b/lib/rfc1738.c @@ -1,5 +1,5 @@ /* - * $Id: rfc1738.c,v 1.5 1996/09/17 16:32:26 wessels Exp $ + * $Id: rfc1738.c,v 1.6 1996/09/17 16:53:58 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -112,6 +112,7 @@ #include #endif +#include "ansiproto.h" #include "util.h" #define BIG_BUFSIZ (BUFSIZ * 4) diff --git a/lib/util.c b/lib/util.c index ee18e8b16a..93d7e96269 100644 --- a/lib/util.c +++ b/lib/util.c @@ -1,5 +1,5 @@ /* - * $Id: util.c,v 1.17 1996/09/17 16:43:37 wessels Exp $ + * $Id: util.c,v 1.18 1996/09/17 16:54:00 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -127,8 +127,8 @@ #include #endif -#include "util.h" #include "ansiproto.h" +#include "util.h" void (*failure_notify) __P((char *)) = NULL; static char msg[128]; diff --git a/lib/uudecode.c b/lib/uudecode.c index 1a79e7aef6..0a0008c149 100644 --- a/lib/uudecode.c +++ b/lib/uudecode.c @@ -1,4 +1,5 @@ +#include "ansiproto.h" #include "util.h" extern char **environ; diff --git a/src/cachemgr.cc b/src/cachemgr.cc index ae19892a9a..7b0ee0ea3f 100644 --- a/src/cachemgr.cc +++ b/src/cachemgr.cc @@ -1,6 +1,6 @@ /* - * $Id: cachemgr.cc,v 1.25 1996/09/17 16:39:04 wessels Exp $ + * $Id: cachemgr.cc,v 1.26 1996/09/17 16:54:02 wessels Exp $ * * DEBUG: Section 0 CGI Cache Manager * AUTHOR: Harvest Derived @@ -195,8 +195,8 @@ #include #endif -#include "util.h" #include "ansiproto.h" +#include "util.h" #define MAX_ENTRIES 10000 diff --git a/src/dnsserver.cc b/src/dnsserver.cc index 19c42b037f..00c5dfb0d0 100644 --- a/src/dnsserver.cc +++ b/src/dnsserver.cc @@ -1,6 +1,6 @@ /* - * $Id: dnsserver.cc,v 1.22 1996/09/14 08:45:50 wessels Exp $ + * $Id: dnsserver.cc,v 1.23 1996/09/17 16:57:00 wessels Exp $ * * DEBUG: section 0 DNS Resolver * AUTHOR: Harvest Derived @@ -212,6 +212,7 @@ #define INADDR_NONE -1 #endif +#include "ansiproto.h" #include "util.h" extern int h_errno; diff --git a/src/squid.h b/src/squid.h index cd60d98788..f68407be51 100644 --- a/src/squid.h +++ b/src/squid.h @@ -1,6 +1,6 @@ /* - * $Id: squid.h,v 1.51 1996/09/17 16:39:05 wessels Exp $ + * $Id: squid.h,v 1.52 1996/09/17 16:54:05 wessels Exp $ * * AUTHOR: Duane Wessels * @@ -213,8 +213,8 @@ typedef unsigned long u_num32; #define LOCAL_ARRAY(type,name,size) static type name[size] #endif -#include "GNUregex.h" #include "ansiproto.h" +#include "GNUregex.h" typedef void (*SIH) (int, void *); /* swap in */ typedef int (*QS) (const void *, const void *);