From 24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 18 Feb 2002 05:15:19 +0000 Subject: Remove __P Remove __STDC__ (which means we now use stdarg rather than vararg) Remove register Remove main prototype --- games/arithmetic/arithmetic.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'games/arithmetic') 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, -- cgit v1.1