From: hno <> Date: Thu, 19 Jul 2007 09:04:47 +0000 (+0000) Subject: Make local functions static to make gcc a little happier X-Git-Tag: SQUID_3_0_PRE7~158 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d84273fb54ad53e2ffa005f04eb168b1742dbdd;p=thirdparty%2Fsquid.git Make local functions static to make gcc a little happier --- diff --git a/helpers/basic_auth/getpwnam/getpwnam_auth.c b/helpers/basic_auth/getpwnam/getpwnam_auth.c index 9e5d03aac4..fae0eaebb0 100644 --- a/helpers/basic_auth/getpwnam/getpwnam_auth.c +++ b/helpers/basic_auth/getpwnam/getpwnam_auth.c @@ -53,7 +53,7 @@ #define ERR "ERR\n" #define OK "OK\n" -int +static int passwd_auth(char *user, char *passwd) { struct passwd *pwd; @@ -70,7 +70,7 @@ passwd_auth(char *user, char *passwd) } #if HAVE_SHADOW_H -int +static int shadow_auth(char *user, char *passwd) { struct spwd *pwd;