From: Francesco Chemolli Date: Fri, 31 Aug 2012 12:45:28 +0000 (+0200) Subject: Removed Solaris compatibility prototypes from protos.h, they're duplicate from compat/ X-Git-Tag: sourceformat-review-1~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2171e13af19d5ecc291a43d9478357bf4851a9cc;p=thirdparty%2Fsquid.git Removed Solaris compatibility prototypes from protos.h, they're duplicate from compat/ --- diff --git a/src/protos.h b/src/protos.h index f3fd67d5a2..9c5605cbf3 100644 --- a/src/protos.h +++ b/src/protos.h @@ -80,21 +80,6 @@ extern void reconfigure(int); #include "fatal.h" - -/* - * prototypes for system functions missing from system includes - */ - -#if _SQUID_SOLARIS_ - -SQUIDCEXTERN int getrusage(int, struct rusage *); -SQUIDCEXTERN int getpagesize(void); -#if !defined(_XPG4_2) && !(defined(__EXTENSIONS__) || \ -(!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE))) -SQUIDCEXTERN int gethostname(char *, int); -#endif -#endif - /* * hack to allow snmp access to the statistics counters */