From: Amos Jeffries Date: Mon, 15 Mar 2010 13:34:27 +0000 (+1300) Subject: Author: Yannick Bergeron X-Git-Tag: SQUID_3_2_0_1~364 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2748e1bd2c491951918c1775db273ebdcee3aa75;p=thirdparty%2Fsquid.git Author: Yannick Bergeron AIX build fixes C code in strict compilers requires /* */ not // --- diff --git a/include/rfc2181.h b/include/rfc2181.h index d5c7e1b6a2..197998b874 100644 --- a/include/rfc2181.h +++ b/include/rfc2181.h @@ -21,7 +21,7 @@ */ #define RFC2181_MAXHOSTNAMELEN 256 -/// Back-port macro for old squid code still using SQUIDHOSTNAMELEN without RFC reference. +/** Back-port macro for old squid code still using SQUIDHOSTNAMELEN without RFC reference. */ #define SQUIDHOSTNAMELEN RFC2181_MAXHOSTNAMELEN #endif /* _SQUID_INCLUDE_RFC1123_H */ diff --git a/lib/getfullhostname.c b/lib/getfullhostname.c index 7b1caa6aa2..b7480b2673 100644 --- a/lib/getfullhostname.c +++ b/lib/getfullhostname.c @@ -62,7 +62,7 @@ #include #endif -#endif // 0 +#endif /* 0 */ #if HAVE_UNISTD_H diff --git a/lib/rfc1738.c b/lib/rfc1738.c index 72478da570..e45d140107 100644 --- a/lib/rfc1738.c +++ b/lib/rfc1738.c @@ -178,7 +178,7 @@ rfc1738_escape_part(const char *url) /* * Converts a ascii hex code into a binary character. */ -inline int fromhex(char ch); // prototype to keep GCC happy. +inline int fromhex(char ch); /* prototype to keep GCC happy. */ inline int fromhex(char ch)