]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Yannick Bergeron <yaberger@ca.ibm.com>
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 15 Mar 2010 13:34:27 +0000 (02:34 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 15 Mar 2010 13:34:27 +0000 (02:34 +1300)
AIX build fixes

 C code in strict compilers requires /* */ not //

include/rfc2181.h
lib/getfullhostname.c
lib/rfc1738.c

index d5c7e1b6a2cb8476f207cdd4c2f71e2f787729e5..197998b874b82a477c5ffc46b2b08b258450e921 100644 (file)
@@ -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 */
index 7b1caa6aa28986ce1b337202b44291e8d1489e34..b7480b2673c2b118756b7c923e975253324754dd 100644 (file)
@@ -62,7 +62,7 @@
 #include <arpa/inet.h>
 #endif
 
-#endif // 0
+#endif /* 0 */
 
 
 #if HAVE_UNISTD_H
index 72478da570cb196e2cc92bd2c60e0dd62959c2c2..e45d140107b48bcb06f0f6e14314935405c15593 100644 (file)
@@ -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)