summaryrefslogtreecommitdiffstats
path: root/hunt/hunt
diff options
context:
space:
mode:
Diffstat (limited to 'hunt/hunt')
-rw-r--r--hunt/hunt/hunt.c20
-rw-r--r--hunt/hunt/otto.c22
-rw-r--r--hunt/hunt/playit.c8
3 files changed, 25 insertions, 25 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index 14864732..15b348dd 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.20 2003/06/11 12:04:06 wiz Exp $ */
+/* $NetBSD: hunt.c,v 1.21 2004/01/27 20:30:29 jsm Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.20 2003/06/11 12:04:06 wiz Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.21 2004/01/27 20:30:29 jsm Exp $");
#endif /* not lint */
# include <sys/param.h>
@@ -108,15 +108,15 @@ static int in_visual;
extern int cur_row, cur_col;
-void dump_scores __P((SOCKET));
-long env_init __P((long));
-void fill_in_blanks __P((void));
-void leave __P((int, char *)) __attribute__((__noreturn__));
-void leavex __P((int, char *)) __attribute__((__noreturn__));
-void fincurs __P((void));
-int main __P((int, char *[]));
+void dump_scores(SOCKET);
+long env_init(long);
+void fill_in_blanks(void);
+void leave(int, char *) __attribute__((__noreturn__));
+void leavex(int, char *) __attribute__((__noreturn__));
+void fincurs(void);
+int main(int, char *[]);
# ifdef INTERNET
-SOCKET *list_drivers __P((void));
+SOCKET *list_drivers(void);
# endif
extern int Otto_mode;
diff --git a/hunt/hunt/otto.c b/hunt/hunt/otto.c
index baa1cfc8..bd6fefb2 100644
--- a/hunt/hunt/otto.c
+++ b/hunt/hunt/otto.c
@@ -1,4 +1,4 @@
-/* $NetBSD: otto.c,v 1.5 2003/06/11 12:00:21 wiz Exp $ */
+/* $NetBSD: otto.c,v 1.6 2004/01/27 20:30:29 jsm Exp $ */
# ifdef OTTO
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: otto.c,v 1.5 2003/06/11 12:00:21 wiz Exp $");
+__RCSID("$NetBSD: otto.c,v 1.6 2004/01/27 20:30:29 jsm Exp $");
#endif /* not lint */
# include <sys/time.h>
@@ -142,15 +142,15 @@ STATIC int num_turns; /* for wandering */
STATIC char been_there[HEIGHT][WIDTH2];
STATIC struct itimerval pause_time = { { 0, 0 }, { 0, 55000 }};
-STATIC void attack __P((int, struct item *));
-STATIC void duck __P((int));
-STATIC void face_and_move_direction __P((int, int));
-STATIC int go_for_ammo __P((char));
-STATIC void ottolook __P((int, struct item *));
-STATIC void look_around __P((void));
-STATIC SIGNAL_TYPE nothing __P((int));
-STATIC int stop_look __P((struct item *, char, int, int));
-STATIC void wander __P((void));
+STATIC void attack(int, struct item *);
+STATIC void duck(int);
+STATIC void face_and_move_direction(int, int);
+STATIC int go_for_ammo(char);
+STATIC void ottolook(int, struct item *);
+STATIC void look_around(void);
+STATIC SIGNAL_TYPE nothing(int);
+STATIC int stop_look(struct item *, char, int, int);
+STATIC void wander(void);
extern int Otto_count;
diff --git a/hunt/hunt/playit.c b/hunt/hunt/playit.c
index 76f2982b..56e1765f 100644
--- a/hunt/hunt/playit.c
+++ b/hunt/hunt/playit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: playit.c,v 1.7 2003/06/11 12:00:21 wiz Exp $ */
+/* $NetBSD: playit.c,v 1.8 2004/01/27 20:30:29 jsm Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: playit.c,v 1.7 2003/06/11 12:00:21 wiz Exp $");
+__RCSID("$NetBSD: playit.c,v 1.8 2004/01/27 20:30:29 jsm Exp $");
#endif /* not lint */
# include <sys/file.h>
@@ -94,8 +94,8 @@ static unsigned char ibuf[256], *iptr = ibuf;
extern int _putchar();
#endif
-static unsigned char getchr __P((void));
-static void send_stuff __P((void));
+static unsigned char getchr(void);
+static void send_stuff(void);
/*
* playit: