diff options
author | markm <markm@FreeBSD.org> | 2001-12-01 21:12:04 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-12-01 21:12:04 +0000 |
commit | 8a79fc4a5afbf363bb878c0ee3a096669541d06a (patch) | |
tree | 4b44e9bcbbe4b2c6f1671560b5e5a630a97fd548 /lib | |
parent | 13c461f20052ccc43dfa4ced9bb3a2e31bf206c3 (diff) | |
download | FreeBSD-src-8a79fc4a5afbf363bb878c0ee3a096669541d06a.zip FreeBSD-src-8a79fc4a5afbf363bb878c0ee3a096669541d06a.tar.gz |
Style fixups.
Sort function declarations, includes. Make consistent WRT use of _P()
macro (ugh!)
Inspired by: bde
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpam/modules/pam_login_access/login_access.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libpam/modules/pam_login_access/login_access.c b/lib/libpam/modules/pam_login_access/login_access.c index e3452ab..abd552b 100644 --- a/lib/libpam/modules/pam_login_access/login_access.c +++ b/lib/libpam/modules/pam_login_access/login_access.c @@ -13,15 +13,15 @@ static const char sccsid[] = "%Z% %M% %I% %E% %U%"; #endif -#include <stdio.h> -#include <syslog.h> -#include <ctype.h> #include <sys/types.h> -#include <grp.h> +#include <ctype.h> #include <errno.h> +#include <grp.h> +#include <stdio.h> +#include <stdlib.h> #include <string.h> +#include <syslog.h> #include <unistd.h> -#include <stdlib.h> #include "login.h" #include "pathnames.h" @@ -36,11 +36,11 @@ static char sep[] = ", \t"; /* list-element separator */ #define YES 1 #define NO 0 -static int list_match __P((char *, char *, int (*)(char *, char *))); -static int user_match __P((char *, char *)); -static int from_match __P((char *, char *)); -static int string_match __P((char *, char *)); -static int netgroup_match __P((char *, char *, char *)); +static int from_match __P((char *, char *)); +static int list_match __P((char *, char *, int (*)(char *, char *))); +static int netgroup_match __P((char *, char *, char *)); +static int string_match __P((char *, char *)); +static int user_match __P((char *, char *)); /* login_access - match username/group and host/tty with access control file */ |