diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
commit | d522f6eb0324008023fed0be4d046f3fc51b0356 (patch) | |
tree | 9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /games | |
parent | 1b433a7e5b43fe0dec72e100525e31299629c117 (diff) |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'games')
-rw-r--r-- | games/battlestar/cypher.c | 6 | ||||
-rw-r--r-- | games/boggle/boggle/extern.h | 6 | ||||
-rw-r--r-- | games/boggle/boggle/prtable.c | 4 | ||||
-rw-r--r-- | games/fortune/fortune/fortune.c | 8 | ||||
-rw-r--r-- | games/gomoku/gomoku.h | 6 | ||||
-rw-r--r-- | games/hunt/huntd/server.h | 6 | ||||
-rw-r--r-- | games/mille/mille.h | 4 | ||||
-rw-r--r-- | games/sail/extern.h | 9 |
8 files changed, 24 insertions, 25 deletions
diff --git a/games/battlestar/cypher.c b/games/battlestar/cypher.c index 38ee010e196..926f79be8e0 100644 --- a/games/battlestar/cypher.c +++ b/games/battlestar/cypher.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cypher.c,v 1.12 2000/09/26 04:42:56 pjanzen Exp $ */ +/* $OpenBSD: cypher.c,v 1.13 2002/02/17 19:42:20 millert Exp $ */ /* $NetBSD: cypher.c,v 1.3 1995/03/21 15:07:15 cgd Exp $ */ /* @@ -38,14 +38,14 @@ #if 0 static char sccsid[] = "@(#)cypher.c 8.2 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: cypher.c,v 1.12 2000/09/26 04:42:56 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: cypher.c,v 1.13 2002/02/17 19:42:20 millert Exp $"; #endif #endif /* not lint */ #include "extern.h" #include "pathnames.h" -static void verb_with_all __P((unsigned int *, int, int (*)(void), const char *)); +static void verb_with_all(unsigned int *, int, int (*)(void), const char *); /* returns 0 if error or no more commands to do, * 1 if there are more commands remaining on the current input line diff --git a/games/boggle/boggle/extern.h b/games/boggle/boggle/extern.h index c1a0dc1ef66..4e7726b0e9d 100644 --- a/games/boggle/boggle/extern.h +++ b/games/boggle/boggle/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.3 2002/02/16 21:27:09 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.4 2002/02/17 19:42:20 millert Exp $ */ /* $NetBSD: extern.h,v 1.3 1995/04/24 12:22:37 cgd Exp $ */ /*- @@ -57,8 +57,8 @@ char *nextword(FILE *); FILE *opendict(char *); void playgame(void); void prompt(char *); -void prtable __P((char *[], - int, int, int, void (*)(char *[], int), int (*)(char *[], int))); +void prtable(char *[], + int, int, int, void (*)(char *[], int), int (*)(char *[], int)); void putstr(char *); void redraw(void); void results(void); diff --git a/games/boggle/boggle/prtable.c b/games/boggle/boggle/prtable.c index 4d04a57c132..c721f7e98f4 100644 --- a/games/boggle/boggle/prtable.c +++ b/games/boggle/boggle/prtable.c @@ -1,4 +1,4 @@ -/* $OpenBSD: prtable.c,v 1.5 2002/02/16 21:27:09 millert Exp $ */ +/* $OpenBSD: prtable.c,v 1.6 2002/02/17 19:42:20 millert Exp $ */ /* $NetBSD: prtable.c,v 1.2 1995/03/21 12:14:42 cgd Exp $ */ /*- @@ -45,7 +45,7 @@ #define NCOLS 5 -static int get_maxlen __P((char *[], int, int (*)(char **, int))); +static int get_maxlen(char *[], int, int (*)(char **, int)); /* * Routine to print a table diff --git a/games/fortune/fortune/fortune.c b/games/fortune/fortune/fortune.c index 090b646f273..2adb2771bca 100644 --- a/games/fortune/fortune/fortune.c +++ b/games/fortune/fortune/fortune.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fortune.c,v 1.12 2002/02/16 21:27:09 millert Exp $ */ +/* $OpenBSD: fortune.c,v 1.13 2002/02/17 19:42:20 millert Exp $ */ /* $NetBSD: fortune.c,v 1.8 1995/03/23 08:28:40 cgd Exp $ */ /*- @@ -47,7 +47,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$OpenBSD: fortune.c,v 1.12 2002/02/16 21:27:09 millert Exp $"; +static char rcsid[] = "$OpenBSD: fortune.c,v 1.13 2002/02/17 19:42:20 millert Exp $"; #endif #endif /* not lint */ @@ -128,8 +128,8 @@ FILEDESC *Fortfile; /* Fortune file to use */ STRFILE Noprob_tbl; /* sum of data for all no prob files */ int add_dir(FILEDESC *); -int add_file __P((int, - char *, char *, FILEDESC **, FILEDESC **, FILEDESC *)); +int add_file(int, + char *, char *, FILEDESC **, FILEDESC **, FILEDESC *); void all_forts(FILEDESC *, char *); char *copy(char *, u_int); void display(FILEDESC *); diff --git a/games/gomoku/gomoku.h b/games/gomoku/gomoku.h index 9b83fb0d4d5..a19f098c6a9 100644 --- a/games/gomoku/gomoku.h +++ b/games/gomoku/gomoku.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gomoku.h,v 1.5 2002/02/16 21:27:10 millert Exp $ */ +/* $OpenBSD: gomoku.h,v 1.6 2002/02/17 19:42:20 millert Exp $ */ /* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. @@ -278,8 +278,8 @@ void bdump(FILE *); #endif void bdwho(int); int better(struct spotstr *, struct spotstr *, int); -int checkframes __P((struct combostr *, struct combostr *, - struct spotstr *, int, struct ovlp_info *)); +int checkframes(struct combostr *, struct combostr *, + struct spotstr *, int, struct ovlp_info *); #ifdef DEBUG void clearcombo(struct combostr *, int); #endif diff --git a/games/hunt/huntd/server.h b/games/hunt/huntd/server.h index cac2c72d2f5..e632432118e 100644 --- a/games/hunt/huntd/server.h +++ b/games/hunt/huntd/server.h @@ -1,4 +1,4 @@ -/* $OpenBSD: server.h,v 1.6 2002/02/16 21:27:10 millert Exp $ */ +/* $OpenBSD: server.h,v 1.7 2002/02/17 19:42:20 millert Exp $ */ /* $NetBSD: hunt.h,v 1.5 1998/09/13 15:27:28 hubertf Exp $ */ /* @@ -211,8 +211,8 @@ void cleanup(int); void mon_execute(PLAYER *); void execute(PLAYER *); void add_shot(int, int, int, char, int, PLAYER *, int, char); -BULLET *create_shot __P((int, int, int, char, int, int, PLAYER *, IDENT *, - int, char)); +BULLET *create_shot(int, int, int, char, int, int, PLAYER *, IDENT *, + int, char); void ammo_update(PLAYER *); /* expl.c */ diff --git a/games/mille/mille.h b/games/mille/mille.h index bd924d721c6..73ac2234ae1 100644 --- a/games/mille/mille.h +++ b/games/mille/mille.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mille.h,v 1.6 2002/02/16 21:27:10 millert Exp $ */ +/* $OpenBSD: mille.h,v 1.7 2002/02/17 19:42:20 millert Exp $ */ /* $NetBSD: mille.h,v 1.5 1995/03/24 05:01:51 cgd Exp $ */ /* @@ -262,7 +262,7 @@ void show_card(int, int, CARD, CARD *); void show_score(int, int, int, int *); void shuffle(void); void sort(CARD *); -bool varpush __P((int, ssize_t(int, const struct iovec *, int))); +bool varpush(int, ssize_t(int, const struct iovec *, int)); #ifdef EXTRAP void extrapolate(PLAY *); void undoex(void); diff --git a/games/sail/extern.h b/games/sail/extern.h index 3748d42d3f1..23760ac305d 100644 --- a/games/sail/extern.h +++ b/games/sail/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.5 2002/02/16 22:33:16 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.6 2002/02/17 19:42:21 millert Exp $ */ /* $NetBSD: extern.h,v 1.8 1998/09/13 15:27:30 hubertf Exp $ */ /* @@ -324,8 +324,8 @@ int str_end(const char *); void closeon(struct ship *, struct ship *, char[], int, int, int); int score(char[], struct ship *, struct ship *, int); void move_ship(const char *, struct ship *, unsigned char *, short *, short *, char *); -void try __P((char[], char [], int, int, int, int, int, struct ship *, - struct ship *, int *, int)); +void try(char[], char [], int, int, int, int, int, struct ship *, + struct ship *, int *, int); void rmend(char *); /* dr_3.c */ @@ -345,8 +345,7 @@ void grap(struct ship *, struct ship *); /* dr_5.c */ void subtract(struct ship *, int, int [3], struct ship *, int); -int mensent __P((struct ship *, struct ship *, int[3], struct ship **, int *, - int)); +int mensent(struct ship *, struct ship *, int[3], struct ship **, int *, int); /* dr_main.c */ int dr_main(void); |