diff options
author | jsm <jsm@NetBSD.org> | 2004-01-27 20:30:28 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2004-01-27 20:30:28 +0000 |
commit | a43fb158d0c5c90291b792d683aa0221403f1893 (patch) | |
tree | abc8b57813f81300bc2b7a4ad80223e666d05d7d /quiz | |
parent | 5572d7c395d19f949cb8a29c96791307e744681c (diff) | |
download | bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.gz bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.zst bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.zip |
Remove uses of __P.
Diffstat (limited to 'quiz')
-rw-r--r-- | quiz/quiz.c | 24 | ||||
-rw-r--r-- | quiz/quiz.h | 8 | ||||
-rw-r--r-- | quiz/rxp.c | 10 |
3 files changed, 21 insertions, 21 deletions
diff --git a/quiz/quiz.c b/quiz/quiz.c index a3e01436..e860966b 100644 --- a/quiz/quiz.c +++ b/quiz/quiz.c @@ -1,4 +1,4 @@ -/* $NetBSD: quiz.c,v 1.19 2003/08/07 09:37:34 agc Exp $ */ +/* $NetBSD: quiz.c,v 1.20 2004/01/27 20:30:30 jsm Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\n\ #if 0 static char sccsid[] = "@(#)quiz.c 8.3 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: quiz.c,v 1.19 2003/08/07 09:37:34 agc Exp $"); +__RCSID("$NetBSD: quiz.c,v 1.20 2004/01/27 20:30:30 jsm Exp $"); #endif #endif /* not lint */ @@ -65,16 +65,16 @@ static QE qlist; static int catone, cattwo, tflag; static u_int qsize; -char *appdstr __P((char *, const char *, size_t)); -void downcase __P((char *)); -void get_cats __P((char *, char *)); -void get_file __P((const char *)); -int main __P((int, char *[])); -const char *next_cat __P((const char *)); -void quiz __P((void)); -void score __P((u_int, u_int, u_int)); -void show_index __P((void)); -void usage __P((void)) __attribute__((__noreturn__)); +char *appdstr(char *, const char *, size_t); +void downcase(char *); +void get_cats(char *, char *); +void get_file(const char *); +int main(int, char *[]); +const char *next_cat(const char *); +void quiz(void); +void score(u_int, u_int, u_int); +void show_index(void); +void usage(void) __attribute__((__noreturn__)); int main(argc, argv) diff --git a/quiz/quiz.h b/quiz/quiz.h index 3bfe0445..9884b505 100644 --- a/quiz/quiz.h +++ b/quiz/quiz.h @@ -1,4 +1,4 @@ -/* $NetBSD: quiz.h,v 1.6 2003/08/07 09:37:34 agc Exp $ */ +/* $NetBSD: quiz.h,v 1.7 2004/01/27 20:30:30 jsm Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -54,6 +54,6 @@ typedef struct qentry { extern char rxperr[]; -int rxp_compile __P((const char *)); -char *rxp_expand __P((void)); -int rxp_match __P((const char *)); +int rxp_compile(const char *); +char *rxp_expand(void); +int rxp_match(const char *); @@ -1,4 +1,4 @@ -/* $NetBSD: rxp.c,v 1.11 2003/08/07 09:37:34 agc Exp $ */ +/* $NetBSD: rxp.c,v 1.12 2004/01/27 20:30:30 jsm Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)rxp.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: rxp.c,v 1.11 2003/08/07 09:37:34 agc Exp $"); +__RCSID("$NetBSD: rxp.c,v 1.12 2004/01/27 20:30:30 jsm Exp $"); #endif #endif /* not lint */ @@ -82,9 +82,9 @@ typedef short Rxp_t; /* type for regexp tokens */ static Rxp_t rxpbuf[RXP_LINE_SZ]; /* compiled regular expression buffer */ char rxperr[128]; /* parser error message */ -static int rxp__compile __P((const char *, int)); -static char *rxp__expand __P((int)); -static int rxp__match __P((const char *, int, Rxp_t *, Rxp_t *, const char *)); +static int rxp__compile(const char *, int); +static char *rxp__expand(int); +static int rxp__match(const char *, int, Rxp_t *, Rxp_t *, const char *); int rxp_compile(s) |