diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-16 21:28:12 +0000 |
commit | 6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch) | |
tree | ee423c619fad03813234b9362694a17f3a638f0b /libexec/talkd | |
parent | c707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff) |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'libexec/talkd')
-rw-r--r-- | libexec/talkd/announce.c | 6 | ||||
-rw-r--r-- | libexec/talkd/table.c | 6 | ||||
-rw-r--r-- | libexec/talkd/talkd.h | 26 |
3 files changed, 19 insertions, 19 deletions
diff --git a/libexec/talkd/announce.c b/libexec/talkd/announce.c index 432d6a1ecfa..0c60261a74d 100644 --- a/libexec/talkd/announce.c +++ b/libexec/talkd/announce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: announce.c,v 1.11 2001/07/08 21:18:12 deraadt Exp $ */ +/* $OpenBSD: announce.c,v 1.12 2002/02/16 21:27:31 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -35,7 +35,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)announce.c 5.9 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: announce.c,v 1.11 2001/07/08 21:18:12 deraadt Exp $"; +static char rcsid[] = "$Id: announce.c,v 1.12 2002/02/16 21:27:31 millert Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -55,7 +55,7 @@ static char rcsid[] = "$Id: announce.c,v 1.11 2001/07/08 21:18:12 deraadt Exp $" #include <paths.h> #include "talkd.h" -static void print_mesg __P((FILE *,CTL_MSG *,char *)); +static void print_mesg(FILE *,CTL_MSG *,char *); /* * Announce an invitation to talk. If the user is diff --git a/libexec/talkd/table.c b/libexec/talkd/table.c index 71c37df30fb..14925978567 100644 --- a/libexec/talkd/table.c +++ b/libexec/talkd/table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: table.c,v 1.7 2001/12/07 18:45:33 mpech Exp $ */ +/* $OpenBSD: table.c,v 1.8 2002/02/16 21:27:31 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -35,7 +35,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)table.c 5.7 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: table.c,v 1.7 2001/12/07 18:45:33 mpech Exp $"; +static char rcsid[] = "$Id: table.c,v 1.8 2002/02/16 21:27:31 millert Exp $"; #endif /* not lint */ /* @@ -72,7 +72,7 @@ struct table_entry { }; TAILQ_HEAD(, table_entry) table; -static void delete __P((TABLE_ENTRY *)); +static void delete(TABLE_ENTRY *); /* * Init the table diff --git a/libexec/talkd/talkd.h b/libexec/talkd/talkd.h index 5ace0fbfbfb..bf25785b5c9 100644 --- a/libexec/talkd/talkd.h +++ b/libexec/talkd/talkd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: talkd.h,v 1.4 2001/12/07 18:45:33 mpech Exp $ */ +/* $OpenBSD: talkd.h,v 1.5 2002/02/16 21:27:31 millert Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -38,22 +38,22 @@ extern int debug; extern char hostname[]; /* table.c */ -void init_table __P((void)); -CTL_MSG *find_request __P((CTL_MSG *)); -CTL_MSG *find_match __P((CTL_MSG *)); -void insert_table __P((CTL_MSG *, CTL_RESPONSE *)); -int new_id __P((void)); -int delete_invite __P((int)); +void init_table(void); +CTL_MSG *find_request(CTL_MSG *); +CTL_MSG *find_match(CTL_MSG *); +void insert_table(CTL_MSG *, CTL_RESPONSE *); +int new_id(void); +int delete_invite(int); /* process.c */ -void process_request __P(( CTL_MSG *, CTL_RESPONSE *)); -void do_announce __P((CTL_MSG *, CTL_RESPONSE *)); -int find_user __P((char *name, char *tty)); +void process_request( CTL_MSG *, CTL_RESPONSE *); +void do_announce(CTL_MSG *, CTL_RESPONSE *); +int find_user(char *name, char *tty); /* announce.c */ -int announce __P((CTL_MSG *,char *)); +int announce(CTL_MSG *,char *); /* print.c */ -void print_request __P((char *,CTL_MSG *)); -void print_response __P((char *,CTL_RESPONSE *)); +void print_request(char *,CTL_MSG *); +void print_response(char *,CTL_RESPONSE *); |