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/save.c | |
parent | 123f3b7651527e3cd41a6956ecd641c00442b6c7 (diff) |
more ansi; khalek@linuxgamers.net
Diffstat (limited to 'games/battlestar/save.c')
-rw-r--r-- | games/battlestar/save.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/games/battlestar/save.c b/games/battlestar/save.c index 6b77b48158f..e2f49ed413c 100644 --- a/games/battlestar/save.c +++ b/games/battlestar/save.c @@ -1,4 +1,4 @@ -/* $OpenBSD: save.c,v 1.9 2003/06/03 03:01:38 millert Exp $ */ +/* $OpenBSD: save.c,v 1.10 2004/07/10 07:26:22 deraadt Exp $ */ /* $NetBSD: save.c,v 1.3 1995/03/21 15:07:57 cgd Exp $ */ /* @@ -34,15 +34,14 @@ #if 0 static char sccsid[] = "@(#)save.c 8.2 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: save.c,v 1.9 2003/06/03 03:01:38 millert Exp $"; +static char rcsid[] = "$OpenBSD: save.c,v 1.10 2004/07/10 07:26:22 deraadt Exp $"; #endif #endif /* not lint */ #include "extern.h" void -restore(filename) - const char *filename; +restore(const char *filename) { int n; int tmp; @@ -93,8 +92,7 @@ restore(filename) } void -save(filename) - const char *filename; +save(const char *filename) { int n; int tmp; @@ -156,9 +154,7 @@ save(filename) * with malloc(3). */ char * -save_file_name(filename, len) - const char *filename; - size_t len; +save_file_name(const char *filename, size_t len) { char *home; char *newname; |