diff options
author | billf <billf@FreeBSD.org> | 1999-12-19 00:21:51 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 1999-12-19 00:21:51 +0000 |
commit | 1fabd91386e4829a65aac0f7d8bf9e4b55ab2f6d (patch) | |
tree | 2d868c4621877ea363b25aaf4faf0a99f9c68718 /games/adventure/setup.c | |
parent | 55d5a145e52eae16d903e90650a2b03b2f308f77 (diff) | |
download | FreeBSD-src-1fabd91386e4829a65aac0f7d8bf9e4b55ab2f6d.zip FreeBSD-src-1fabd91386e4829a65aac0f7d8bf9e4b55ab2f6d.tar.gz |
-Wall fixes.
XXX: This code is sick, and so are some of the "fixes".
Diffstat (limited to 'games/adventure/setup.c')
-rw-r--r-- | games/adventure/setup.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/games/adventure/setup.c b/games/adventure/setup.c index aadfd2b..9d31541 100644 --- a/games/adventure/setup.c +++ b/games/adventure/setup.c @@ -73,6 +73,7 @@ static const char rcsid[] = #define LINE 10 /* How many values do we get on a line? */ +int main(argc, argv) int argc; char *argv[]; @@ -88,7 +89,7 @@ char *argv[]; puts(SIG1); puts(SIG2); puts(" */"); - printf("\n\nchar data_file[] =\n{"); + printf("\n\nconst char data_file[] =\n{"); srandom(SEED); count = 0; linestart = YES; |