summaryrefslogtreecommitdiffstats
path: root/games/worm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-02-18 05:15:19 +0000
committerimp <imp@FreeBSD.org>2002-02-18 05:15:19 +0000
commit24cd0a3c91f27cb3589ccd980187ccc8c7c51b6d (patch)
tree275284ba202a3acb4c5d5041be389eba1a666e3b /games/worm
parentd533053fe68906076e15c9a57531ef155a7d4283 (diff)
downloadFreeBSD-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/worm')
-rw-r--r--games/worm/worm.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/games/worm/worm.c b/games/worm/worm.c
index 71ffb88..2282364 100644
--- a/games/worm/worm.c
+++ b/games/worm/worm.c
@@ -85,17 +85,17 @@ int start_len = LENGTH;
char lastch;
char outbuf[BUFSIZ];
-void crash __P((void));
-void display __P((struct body *, char));
-void leave __P((int));
-void life __P((void));
-void newpos __P((struct body *));
-void prize __P((void));
-void process __P((char));
-long rnd __P((int));
-void setup __P((void));
-void suspend __P((int));
-void wake __P((int));
+void crash(void);
+void display(struct body *, char);
+void leave(int);
+void life(void);
+void newpos(struct body *);
+void prize(void);
+void process(char);
+long rnd(int);
+void setup(void);
+void suspend(int);
+void wake(int);
int
main(argc, argv)
OpenPOWER on IntegriCloud