summaryrefslogtreecommitdiffstats
path: root/usr.bin/login
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:22:50 +0000
commit74d826c7a6e9f98072df5f7dba2b84aa516fe425 (patch)
tree6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/login
parentce819c0c139981d7bab5fe36a6074af74b01d185 (diff)
downloadFreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.zip
FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.tar.gz
remove __P
Diffstat (limited to 'usr.bin/login')
-rw-r--r--usr.bin/login/login.h2
-rw-r--r--usr.bin/login/login_access.c14
-rw-r--r--usr.bin/login/login_fbtab.c2
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/login/login.h b/usr.bin/login/login.h
index 21a8f76..6be2539 100644
--- a/usr.bin/login/login.h
+++ b/usr.bin/login/login.h
@@ -25,6 +25,6 @@
* $FreeBSD$
*/
-void login_fbtab __P((char *, uid_t, gid_t));
+void login_fbtab(char *, uid_t, gid_t);
extern char **environ;
diff --git a/usr.bin/login/login_access.c b/usr.bin/login/login_access.c
index 3a98d02..f6f5745 100644
--- a/usr.bin/login/login_access.c
+++ b/usr.bin/login/login_access.c
@@ -40,12 +40,12 @@ static char sep[] = ", \t"; /* list-element separator */
#define YES 1
#define NO 0
-static int from_match __P((const char *, const char *));
-static int list_match __P((char *, const char *,
- int (*)(const char *, const char *)));
-static int netgroup_match __P((const char *, const char *, const char *));
-static int string_match __P((const char *, const char *));
-static int user_match __P((const char *, const char *));
+static int from_match(const char *, const char *);
+static int list_match(char *, const char *,
+ int (*)(const char *, const char *));
+static int netgroup_match(const char *, const char *, const char *);
+static int string_match(const char *, const char *);
+static int user_match(const char *, const char *);
/* login_access - match username/group and host/tty with access control file */
@@ -114,7 +114,7 @@ const char *from;
static int list_match(list, item, match_fn)
char *list;
const char *item;
-int (*match_fn) __P((const char *, const char *));
+int (*match_fn)(const char *, const char *);
{
char *tok;
int match = NO;
diff --git a/usr.bin/login/login_fbtab.c b/usr.bin/login/login_fbtab.c
index a62c6ef..c0a4290 100644
--- a/usr.bin/login/login_fbtab.c
+++ b/usr.bin/login/login_fbtab.c
@@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$");
#include "login.h"
#include "pathnames.h"
-static void login_protect __P((const char *, char *, int, uid_t, gid_t));
+static void login_protect(const char *, char *, int, uid_t, gid_t);
#define WSPACE " \t\n"
OpenPOWER on IntegriCloud