summaryrefslogtreecommitdiffstats
path: root/arithmetic
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2004-01-27 20:30:28 +0000
committerjsm <jsm@NetBSD.org>2004-01-27 20:30:28 +0000
commita43fb158d0c5c90291b792d683aa0221403f1893 (patch)
treeabc8b57813f81300bc2b7a4ad80223e666d05d7d /arithmetic
parent5572d7c395d19f949cb8a29c96791307e744681c (diff)
downloadbsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.gz
bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.zst
bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.zip
Remove uses of __P.
Diffstat (limited to 'arithmetic')
-rw-r--r--arithmetic/arithmetic.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/arithmetic/arithmetic.c b/arithmetic/arithmetic.c
index bac866df..29094c9d 100644
--- a/arithmetic/arithmetic.c
+++ b/arithmetic/arithmetic.c
@@ -1,4 +1,4 @@
-/* $NetBSD: arithmetic.c,v 1.19 2003/08/07 09:36:52 agc Exp $ */
+/* $NetBSD: arithmetic.c,v 1.20 2004/01/27 20:30:28 jsm Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: arithmetic.c,v 1.19 2003/08/07 09:36:52 agc Exp $");
+__RCSID("$NetBSD: arithmetic.c,v 1.20 2004/01/27 20:30:28 jsm Exp $");
#endif
#endif /* not lint */
@@ -84,14 +84,14 @@ __RCSID("$NetBSD: arithmetic.c,v 1.19 2003/08/07 09:36:52 agc Exp $");
#include <time.h>
#include <unistd.h>
-int getrandom __P((int, int, int));
-void intr __P((int)) __attribute__((__noreturn__));
-int main __P((int, char *[]));
-int opnum __P((int));
-void penalise __P((int, int, int));
-int problem __P((void));
-void showstats __P((int));
-void usage __P((void)) __attribute__((__noreturn__));
+int getrandom(int, int, int);
+void intr(int) __attribute__((__noreturn__));
+int main(int, char *[]);
+int opnum(int);
+void penalise(int, int, int);
+int problem(void);
+void showstats(int);
+void usage(void) __attribute__((__noreturn__));
const char keylist[] = "+-x/";
const char defaultkeys[] = "+-";