[Pkg-shadow-commits] r1669 - in upstream/trunk: . src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Sun Jan 6 13:30:19 UTC 2008
Author: nekral-guest
Date: 2008-01-06 13:30:18 +0000 (Sun, 06 Jan 2008)
New Revision: 1669
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/suauth.c
Log:
* Remove prototype of check_su_auth(). It is redundant with prototypes.h.
* isgrp() is static.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-01-06 13:20:25 UTC (rev 1668)
+++ upstream/trunk/ChangeLog 2008-01-06 13:30:18 UTC (rev 1669)
@@ -1,5 +1,11 @@
2008-01-06 Nicolas François <nicolas.francois at 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 at centraliens.net>
+
* libmisc/obscure.c: Tag the `old' parameter of palindrome(),
similar(), and simple() as unused.
* libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
Modified: upstream/trunk/src/suauth.c
===================================================================
--- upstream/trunk/src/suauth.c 2008-01-06 13:20:25 UTC (rev 1668)
+++ upstream/trunk/src/suauth.c 2008-01-06 13:30:18 UTC (rev 1669)
@@ -28,8 +28,7 @@
*/
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 @@
return 0;
}
-int isgrp (const char *name, const char *group)
+static int isgrp (const char *name, const char *group)
{
struct group *grp;
More information about the Pkg-shadow-commits
mailing list