diff options
author | imp <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-22 01:22:50 +0000 |
commit | 74d826c7a6e9f98072df5f7dba2b84aa516fe425 (patch) | |
tree | 6ba560b9c74ad4aa7b2711587ec42a969bdca745 /usr.bin/finger | |
parent | ce819c0c139981d7bab5fe36a6074af74b01d185 (diff) | |
download | FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.zip FreeBSD-src-74d826c7a6e9f98072df5f7dba2b84aa516fe425.tar.gz |
remove __P
Diffstat (limited to 'usr.bin/finger')
-rw-r--r-- | usr.bin/finger/extern.h | 24 | ||||
-rw-r--r-- | usr.bin/finger/finger.c | 8 | ||||
-rw-r--r-- | usr.bin/finger/lprint.c | 6 | ||||
-rw-r--r-- | usr.bin/finger/sprint.c | 2 | ||||
-rw-r--r-- | usr.bin/finger/util.c | 6 |
5 files changed, 23 insertions, 23 deletions
diff --git a/usr.bin/finger/extern.h b/usr.bin/finger/extern.h index eb80ac3..89219c6 100644 --- a/usr.bin/finger/extern.h +++ b/usr.bin/finger/extern.h @@ -39,15 +39,15 @@ extern int entries; /* Number of people. */ extern DB *db; /* Database. */ extern int d_first; -void enter_lastlog __P((PERSON *)); -PERSON *enter_person __P((struct passwd *)); -void enter_where __P((struct utmp *, PERSON *)); -PERSON *find_person __P((char *)); -int hide __P((struct passwd *)); -void lflag_print __P((void)); -int match __P((struct passwd *, char *)); -void netfinger __P((char *)); -PERSON *palloc __P((void)); -char *prphone __P((char *)); -void sflag_print __P((void)); -int show_text __P((const char *, const char *, const char *)); +void enter_lastlog(PERSON *); +PERSON *enter_person(struct passwd *); +void enter_where(struct utmp *, PERSON *); +PERSON *find_person(char *); +int hide(struct passwd *); +void lflag_print(void); +int match(struct passwd *, char *); +void netfinger(char *); +PERSON *palloc(void); +char *prphone(char *); +void sflag_print(void); +int show_text(const char *, const char *, const char *); diff --git a/usr.bin/finger/finger.c b/usr.bin/finger/finger.c index 138021a..d5d38c3 100644 --- a/usr.bin/finger/finger.c +++ b/usr.bin/finger/finger.c @@ -93,10 +93,10 @@ int entries, lflag, mflag, pplan, sflag, oflag, Tflag; int d_first = -1; char tbuf[1024]; -static void loginlist __P((void)); -static int option __P((int, char **)); -static void usage __P((void)); -static void userlist __P((int, char **)); +static void loginlist(void); +static int option(int, char **); +static void usage(void); +static void userlist(int, char **); static int option(argc, argv) diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c index 5ef10fd..f55b6d4 100644 --- a/usr.bin/finger/lprint.c +++ b/usr.bin/finger/lprint.c @@ -64,9 +64,9 @@ __FBSDID("$FreeBSD$"); #define LINE_LEN 80 #define TAB_LEN 8 /* 8 spaces between tabs */ -static int demi_print __P((char *, int)); -static void lprint __P((PERSON *)); -static void vputc __P((unsigned char)); +static int demi_print(char *, int); +static void lprint(PERSON *); +static void vputc(unsigned char); void lflag_print() diff --git a/usr.bin/finger/sprint.c b/usr.bin/finger/sprint.c index 67fdcbb..be7006e 100644 --- a/usr.bin/finger/sprint.c +++ b/usr.bin/finger/sprint.c @@ -53,7 +53,7 @@ __FBSDID("$FreeBSD$"); #include <utmp.h> #include "finger.h" -static void stimeprint __P((WHERE *)); +static void stimeprint(WHERE *); void sflag_print() diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c index 3a001a2..218b1bf 100644 --- a/usr.bin/finger/util.c +++ b/usr.bin/finger/util.c @@ -60,9 +60,9 @@ __FBSDID("$FreeBSD$"); #include "finger.h" #include "pathnames.h" -static void find_idle_and_ttywrite __P((WHERE *)); -static void userinfo __P((PERSON *, struct passwd *)); -static WHERE *walloc __P((PERSON *)); +static void find_idle_and_ttywrite(WHERE *); +static void userinfo(PERSON *, struct passwd *); +static WHERE *walloc(PERSON *); int match(pw, user) |