diff options
author | billf <billf@FreeBSD.org> | 2002-02-23 09:53:27 +0000 |
---|---|---|
committer | billf <billf@FreeBSD.org> | 2002-02-23 09:53:27 +0000 |
commit | d9e076081087f47dac817ee9b92ebabf51d8b8c2 (patch) | |
tree | 533c7029d10abdca72cb772acae78b6998471819 /games/adventure/wizard.c | |
parent | 29314ff3030204bc2a7d6754acf474c19f8e7d58 (diff) | |
download | FreeBSD-src-d9e076081087f47dac817ee9b92ebabf51d8b8c2.zip FreeBSD-src-d9e076081087f47dac817ee9b92ebabf51d8b8c2.tar.gz |
convert from KNR to ANSI function declarations
Reviewed by: md5(1)
Diffstat (limited to 'games/adventure/wizard.c')
-rw-r--r-- | games/adventure/wizard.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/games/adventure/wizard.c b/games/adventure/wizard.c index accf6ba..93c54a3 100644 --- a/games/adventure/wizard.c +++ b/games/adventure/wizard.c @@ -57,8 +57,7 @@ static const char rcsid[] = static int wizard (void); void -datime(d,t) -int *d,*t; +datime(int *d, int *t) { struct tm *tptr; time_t tvec; @@ -78,14 +77,14 @@ int *d,*t; char magic[6]; void -poof() +poof(void) { strcpy(magic, DECR('d','w','a','r','f')); latncy = 45; } int -Start() +Start(void) { int d,t,delay; datime(&d,&t); @@ -111,7 +110,7 @@ Start() } static int -wizard() /* not as complex as advent/10 (for now) */ +wizard(void) /* not as complex as advent/10 (for now) */ { char *word,*x; if (!yesm(16,0,7)) return(FALSE); @@ -126,7 +125,7 @@ wizard() /* not as complex as advent/10 (for now) */ } void -ciao() +ciao(void) { char *c; char fname[80]; @@ -148,8 +147,7 @@ ciao() int -ran(range) -int range; +ran(int range) { int i; |