From: nekral-guest Date: Sun, 6 Jan 2008 13:30:18 +0000 (+0000) Subject: * Remove prototype of check_su_auth(). It is redundant with prototypes.h. X-Git-Tag: 4.1.1~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9104a7a4a49c102bf50e83c48ec5cc60ce1bfc11;p=thirdparty%2Fshadow.git * Remove prototype of check_su_auth(). It is redundant with prototypes.h. * isgrp() is static. --- diff --git a/ChangeLog b/ChangeLog index c4ff0392c..83f036825 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-01-06 Nicolas François + + * src/suauth.c: Remove prototype of check_su_auth(). It is + redundant with prototypes.h. + * src/suauth.c: isgrp() is static. + 2008-01-06 Nicolas François * libmisc/obscure.c: Tag the `old' parameter of palindrome(), diff --git a/src/suauth.c b/src/suauth.c index 21f2a4e97..a9cab331e 100644 --- a/src/suauth.c +++ b/src/suauth.c @@ -28,8 +28,7 @@ struct passwd pwent; */ static int applies (const char *, char *); -int check_su_auth (const char *, const char *); -int isgrp (const char *, const char *); +static int isgrp (const char *, const char *); static int lines = 0; @@ -197,7 +196,7 @@ static int applies (const char *single, char *list) return 0; } -int isgrp (const char *name, const char *group) +static int isgrp (const char *name, const char *group) { struct group *grp;