* Remove prototype of check_su_auth(). It is redundant with prototypes.h.

* isgrp() is static.
This commit is contained in:
nekral-guest 2008-01-06 13:30:18 +00:00
parent 1520a0ae3e
commit 9104a7a4a4
2 changed files with 8 additions and 3 deletions

View File

@ -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(),

View 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;