diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
commit | d522f6eb0324008023fed0be4d046f3fc51b0356 (patch) | |
tree | 9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /lib/libc/gen/getnetgrent.c | |
parent | 1b433a7e5b43fe0dec72e100525e31299629c117 (diff) |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'lib/libc/gen/getnetgrent.c')
-rw-r--r-- | lib/libc/gen/getnetgrent.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c index a4976fc0b05..235cba4d130 100644 --- a/lib/libc/gen/getnetgrent.c +++ b/lib/libc/gen/getnetgrent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getnetgrent.c,v 1.11 2002/02/16 21:27:22 millert Exp $ */ +/* $OpenBSD: getnetgrent.c,v 1.12 2002/02/17 19:42:22 millert Exp $ */ /* * Copyright (c) 1994 Christos Zoulas @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.11 2002/02/16 21:27:22 millert Exp $"; +static char *rcsid = "$OpenBSD: getnetgrent.c,v 1.12 2002/02/17 19:42:22 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -72,15 +72,14 @@ static int getstring(char **, int, char **); static struct netgroup *getnetgroup(char **); static int lookup(const char *, char *, char **, int); static void addgroup(char *, struct stringlist *, char *); -static int in_check __P((const char *, const char *, - const char *, struct netgroup *)); -static int in_find __P((char *, struct stringlist *, - char *, const char *, - const char *, const char *)); -static char *in_lookup1 __P((const char *, const char *, - const char *, int)); -static int in_lookup __P((const char *, const char *, - const char *, const char *, int)); +static int in_check(const char *, const char *, + const char *, struct netgroup *); +static int in_find(char *, struct stringlist *, + char *, const char *, const char *, const char *); +static char *in_lookup1(const char *, const char *, + const char *, int); +static int in_lookup(const char *, const char *, + const char *, const char *, int); /* * _ng_sl_init(): Initialize a string list |