diff options
Diffstat (limited to 'games/battlestar/com4.c')
-rw-r--r-- | games/battlestar/com4.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/games/battlestar/com4.c b/games/battlestar/com4.c index d375dce3d83..18d489f4341 100644 --- a/games/battlestar/com4.c +++ b/games/battlestar/com4.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com4.c,v 1.12 2003/06/03 03:01:38 millert Exp $ */ +/* $OpenBSD: com4.c,v 1.13 2004/07/10 07:26:22 deraadt Exp $ */ /* $NetBSD: com4.c,v 1.3 1995/03/21 15:07:04 cgd Exp $ */ /* @@ -34,15 +34,14 @@ #if 0 static char sccsid[] = "@(#)com4.c 8.2 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: com4.c,v 1.12 2003/06/03 03:01:38 millert Exp $"; +static char rcsid[] = "$OpenBSD: com4.c,v 1.13 2004/07/10 07:26:22 deraadt Exp $"; #endif #endif /* not lint */ #include "extern.h" int -take(from) - unsigned int from[]; +take(unsigned int from[]) { int firstnumber, heavy, bulky, value; @@ -187,8 +186,7 @@ take(from) } int -throw(name) - const char *name; +throw(const char *name) { unsigned int n; int deposit = 0; @@ -267,8 +265,7 @@ throw(name) } int -drop(name) - const char *name; +drop(const char *name) { int firstnumber, value; @@ -346,21 +343,21 @@ drop(name) } int -takeoff() +takeoff(void) { wordnumber = take(wear); return (drop("Dropped")); } int -puton() +puton(void) { wordnumber = take(location[position].objects); return (wearit()); } int -eat() +eat(void) { int firstnumber, value; |