summaryrefslogtreecommitdiffstats
path: root/games/wump
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/wump
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/wump')
-rw-r--r--games/wump/wump.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/wump/wump.c b/games/wump/wump.c
index e670533..76e9fbd 100644
--- a/games/wump/wump.c
+++ b/games/wump/wump.c
@@ -116,20 +116,20 @@ char answer[20]; /* user input */
int bats_nearby(void);
void cave_init(void);
void clear_things_in_cave(void);
-void display_room_stats __P((void));
-int getans __P((const char *prompt));
+void display_room_stats(void);
+int getans(const char *prompt);
void initialize_things_in_cave(void);
void instructions(void);
-int int_compare __P((const void *va, const void *vb));
+int int_compare(const void *va, const void *vb);
void jump(int where);
void kill_wump(void);
-int move_to __P((char *room_number));
+int move_to(char *room_number);
void move_wump(void);
void no_arrows(void);
void pit_kill(void);
int pit_nearby(void);
void pit_survive(void);
-int shoot __P((char *room_list));
+int shoot(char *room_list);
void shoot_self(void);
int take_action(void);
void usage(void);
OpenPOWER on IntegriCloud