summaryrefslogtreecommitdiff
path: root/games/atc/input.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /games/atc/input.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (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 'games/atc/input.c')
-rw-r--r--games/atc/input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/atc/input.c b/games/atc/input.c
index 709f2fb4ceb..ee04bfa659e 100644
--- a/games/atc/input.c
+++ b/games/atc/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.6 2001/08/06 22:59:13 pjanzen Exp $ */
+/* $OpenBSD: input.c,v 1.7 2002/02/16 21:27:08 millert Exp $ */
/* $NetBSD: input.c,v 1.4 1995/04/27 21:22:24 mycroft Exp $ */
/*-
@@ -50,7 +50,7 @@
#if 0
static char sccsid[] = "@(#)input.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: input.c,v 1.6 2001/08/06 22:59:13 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: input.c,v 1.7 2002/02/16 21:27:08 millert Exp $";
#endif
#endif /* not lint */
@@ -70,7 +70,7 @@ typedef struct {
int token;
int to_state;
const char *str;
- const char *(*func) __P((char));
+ const char *(*func)(char);
} RULE;
typedef struct {
@@ -231,7 +231,7 @@ int
getcommand()
{
int c, i, done;
- const char *s, *(*func) __P((char));
+ const char *s, *(*func)(char);
PLANE *pp;
rezero();