]> granicus.if.org Git - shadow/commitdiff
* Remove prototype of check_su_auth(). It is redundant with prototypes.h.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 6 Jan 2008 13:30:18 +0000 (13:30 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 6 Jan 2008 13:30:18 +0000 (13:30 +0000)
* isgrp() is static.

ChangeLog
src/suauth.c

index c4ff0392c47eafd00b39bd47ba6c0b80e3dc6abf..83f03682541e8e8ebb4a8b37295f0dd0ed7b134e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-06  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * 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  <nicolas.francois@centraliens.net>
 
        * libmisc/obscure.c: Tag the `old' parameter of palindrome(),
index 21f2a4e97f4a641f056bbe8e4d8be0936754d6dd..a9cab331e57da1ff63196898e0f428f8552a1b91 100644 (file)
@@ -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;