diff options
author | imp <imp@FreeBSD.org> | 2002-02-18 05:15:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-18 05:15:19 +0000 |
commit | 24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d (patch) | |
tree | 275284ba202a3acb4c5d5041be389eba1a666e3b /games/arithmetic/arithmetic.c | |
parent | d533053fe68906076e15c9a57531ef155a7d4283 (diff) | |
download | FreeBSD-src-24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d.zip FreeBSD-src-24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d.tar.gz |
Remove __P
Remove __STDC__ (which means we now use stdarg rather than vararg)
Remove register
Remove main prototype
Diffstat (limited to 'games/arithmetic/arithmetic.c')
-rw-r--r-- | games/arithmetic/arithmetic.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/games/arithmetic/arithmetic.c b/games/arithmetic/arithmetic.c index 38adab2..6aee828 100644 --- a/games/arithmetic/arithmetic.c +++ b/games/arithmetic/arithmetic.c @@ -94,13 +94,13 @@ int nright, nwrong; time_t qtime; #define NQUESTS 20 -static void usage __P((void)); -int getrandom __P((int, int, int)); -void intr __P((int)); -int opnum __P((int)); -void penalise __P((int, int, int)); -int problem __P((void)); -void showstats __P((void)); +static void usage(void); +int getrandom(int, int, int); +void intr(int); +int opnum(int); +void penalise(int, int, int); +int problem(void); +void showstats(void); /* * Select keys from +-x/ to be asked addition, subtraction, multiplication, |