diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-10 07:26:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-10 07:26:25 +0000 |
commit | 81fbdc5dca4ba4f9673c612f03fede15c8ad3f91 (patch) | |
tree | bb4eddffc1438ca1405dde0867782c5b37066a26 /games/battlestar/init.c | |
parent | 123f3b7651527e3cd41a6956ecd641c00442b6c7 (diff) |
more ansi; khalek@linuxgamers.net
Diffstat (limited to 'games/battlestar/init.c')
-rw-r--r-- | games/battlestar/init.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/games/battlestar/init.c b/games/battlestar/init.c index 588295a2d17..9e8c073adcc 100644 --- a/games/battlestar/init.c +++ b/games/battlestar/init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init.c,v 1.11 2003/09/26 18:58:01 tedu Exp $ */ +/* $OpenBSD: init.c,v 1.12 2004/07/10 07:26:22 deraadt Exp $ */ /* $NetBSD: init.c,v 1.4 1995/03/21 15:07:35 cgd Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)init.c 8.4 (Berkeley) 4/30/95"; #else -static char rcsid[] = "$OpenBSD: init.c,v 1.11 2003/09/26 18:58:01 tedu Exp $"; +static char rcsid[] = "$OpenBSD: init.c,v 1.12 2004/07/10 07:26:22 deraadt Exp $"; #endif #endif /* not lint */ @@ -45,8 +45,7 @@ static const char *getutmp(void); static int wizard(const char *); void -initialize(filename) - const char *filename; +initialize(const char *filename) { const struct objs *p; char *savefile; @@ -80,7 +79,7 @@ initialize(filename) } static const char * -getutmp() +getutmp(void) { struct passwd *ptr; @@ -111,8 +110,7 @@ static const char *const badguys[] = { }; static int -wizard(username) - const char *username; +wizard(const char *username) { int flag; @@ -122,8 +120,7 @@ wizard(username) } static int -checkout(username) - const char *username; +checkout(const char *username) { const char *const *ptr; |