From: wessels <> Date: Mon, 5 Jan 1998 07:57:53 +0000 (+0000) Subject: add snprintf.h X-Git-Tag: SQUID_3_0_PRE1~4263 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5e2e108b259006bbbe30c1e7167d3f408ef7f57f;p=thirdparty%2Fsquid.git add snprintf.h --- diff --git a/lib/rfc1123.c b/lib/rfc1123.c index f2e189ad67..85d51a5052 100644 --- a/lib/rfc1123.c +++ b/lib/rfc1123.c @@ -1,6 +1,6 @@ /* - * $Id: rfc1123.c,v 1.11 1998/01/02 22:39:15 kostas Exp $ + * $Id: rfc1123.c,v 1.12 1998/01/05 00:57:53 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -131,6 +131,7 @@ #endif #include "util.h" +#include "snprintf.h" #define RFC850_STRFTIME "%A, %d-%b-%y %H:%M:%S GMT" #define RFC1123_STRFTIME "%a, %d %b %Y %H:%M:%S GMT" diff --git a/lib/rfc1738.c b/lib/rfc1738.c index 73f33d192d..b0497d525e 100644 --- a/lib/rfc1738.c +++ b/lib/rfc1738.c @@ -1,5 +1,5 @@ /* - * $Id: rfc1738.c,v 1.13 1998/01/02 22:45:03 kostas Exp $ + * $Id: rfc1738.c,v 1.14 1998/01/05 00:57:54 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -113,6 +113,7 @@ #endif #include "util.h" +#include "snprintf.h" /* * RFC 1738 defines that these characters should be escaped, as well diff --git a/lib/safe_inet_addr.c b/lib/safe_inet_addr.c index 595b530d4d..b58d54f080 100644 --- a/lib/safe_inet_addr.c +++ b/lib/safe_inet_addr.c @@ -22,6 +22,8 @@ #include #endif +#include "snprintf.h" + int safe_inet_addr(const char *buf, struct in_addr *addr) { diff --git a/lib/util.c b/lib/util.c index d5dc60dca7..996184ce6e 100644 --- a/lib/util.c +++ b/lib/util.c @@ -1,6 +1,6 @@ /* - * $Id: util.c,v 1.37 1998/01/02 22:39:17 kostas Exp $ + * $Id: util.c,v 1.38 1998/01/05 00:57:55 wessels Exp $ * * DEBUG: * AUTHOR: Harvest Derived @@ -131,6 +131,7 @@ #endif #include "util.h" +#include "snprintf.h" void (*failure_notify) (const char *) = NULL; static char msg[128];