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 /gomoku | |
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 'gomoku')
-rw-r--r-- | gomoku/gomoku.h | 80 | ||||
-rw-r--r-- | gomoku/main.c | 6 |
2 files changed, 43 insertions, 43 deletions
diff --git a/gomoku/gomoku.h b/gomoku/gomoku.h index 0a26b091..0d9ff6e5 100644 --- a/gomoku/gomoku.h +++ b/gomoku/gomoku.h @@ -1,4 +1,4 @@ -/* $NetBSD: gomoku.h,v 1.9 2004/01/27 20:25:48 jsm Exp $ */ +/* $NetBSD: gomoku.h,v 1.10 2004/01/27 20:30:29 jsm Exp $ */ /* * Copyright (c) 1994 @@ -261,42 +261,42 @@ extern int debug; #define ASSERT(x) -void bdinit __P((struct spotstr *)); -void init_overlap __P((void)); -int getline __P((char *, int)); -void ask __P((const char *)); -void dislog __P((const char *)); -void bdump __P((FILE *)); -void bdisp __P((void)); -void bdisp_init __P((void)); -void cursfini __P((void)); -void cursinit __P((void)); -void bdwho __P((int)); -void panic __P((const char *)) __attribute__((__noreturn__)); -void glog __P((const char *)); -void dlog __P((const char *)); -void quit __P((void)) __attribute__((__noreturn__)); -void quitsig __P((int)) __attribute__((__noreturn__)); -void whatsup __P((int)); -int readinput __P((FILE *)); -const char *stoc __P((int)); -int lton __P((int)); -int ctos __P((const char *)); -void update_overlap __P((struct spotstr *)); -int makemove __P((int, int)); -int list_eq __P((struct combostr **, struct combostr **, int)); -void clearcombo __P((struct combostr *, int)); -void makeempty __P((struct combostr *)); -void appendcombo __P((struct combostr *, int)); -void updatecombo __P((struct combostr *, int)); -void markcombo __P((struct combostr *)); -void printcombo __P((struct combostr *, char *)); -void makecombo __P((struct combostr *, struct spotstr *, int, int)); -void makecombo2 __P((struct combostr *, struct spotstr *, int, int)); -int sortcombo __P((struct combostr **, struct combostr **, struct combostr *)); -int checkframes __P((struct combostr *, struct combostr *, struct spotstr *, -int, struct ovlp_info *)); -void addframes __P((int)); -void scanframes __P((int)); -int better __P((const struct spotstr *, const struct spotstr *, int)); -int pickmove __P((int)); +void bdinit(struct spotstr *); +void init_overlap(void); +int getline(char *, int); +void ask(const char *); +void dislog(const char *); +void bdump(FILE *); +void bdisp(void); +void bdisp_init(void); +void cursfini(void); +void cursinit(void); +void bdwho(int); +void panic(const char *) __attribute__((__noreturn__)); +void glog(const char *); +void dlog(const char *); +void quit(void) __attribute__((__noreturn__)); +void quitsig(int) __attribute__((__noreturn__)); +void whatsup(int); +int readinput(FILE *); +const char *stoc(int); +int lton(int); +int ctos(const char *); +void update_overlap(struct spotstr *); +int makemove(int, int); +int list_eq(struct combostr **, struct combostr **, int); +void clearcombo(struct combostr *, int); +void makeempty(struct combostr *); +void appendcombo(struct combostr *, int); +void updatecombo(struct combostr *, int); +void markcombo(struct combostr *); +void printcombo(struct combostr *, char *); +void makecombo(struct combostr *, struct spotstr *, int, int); +void makecombo2(struct combostr *, struct spotstr *, int, int); +int sortcombo(struct combostr **, struct combostr **, struct combostr *); +int checkframes(struct combostr *, struct combostr *, struct spotstr *, + int, struct ovlp_info *); +void addframes(int); +void scanframes(int); +int better(const struct spotstr *, const struct spotstr *, int); +int pickmove(int); diff --git a/gomoku/main.c b/gomoku/main.c index 0e23335d..6f01ed03 100644 --- a/gomoku/main.c +++ b/gomoku/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.11 2003/08/07 09:37:17 agc Exp $ */ +/* $NetBSD: main.c,v 1.12 2004/01/27 20:30:29 jsm Exp $ */ /* * Copyright (c) 1994 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1994\n\ #if 0 static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: main.c,v 1.11 2003/08/07 09:37:17 agc Exp $"); +__RCSID("$NetBSD: main.c,v 1.12 2004/01/27 20:30:29 jsm Exp $"); #endif #endif /* not lint */ @@ -79,7 +79,7 @@ int movelog[BSZ * BSZ]; /* log of all the moves */ int movenum; /* current move number */ const char *plyr[2]; /* who's who */ -int main __P((int, char *[])); +int main(int, char *[]); int main(argc, argv) |