diff options
author | dholland <dholland@NetBSD.org> | 2009-07-04 06:38:34 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-07-04 06:38:34 +0000 |
commit | 90a7b8b0ddece21340e896e8cec8e3f8ef4383d3 (patch) | |
tree | 9b1dd2f878fe0982c44255705ca173bfaddee1e9 /hunt/hunt | |
parent | 1f91c41d4dd9a2321320f1856b01f542e481d8a3 (diff) | |
download | bsdgames-darwin-90a7b8b0ddece21340e896e8cec8e3f8ef4383d3.tar.gz bsdgames-darwin-90a7b8b0ddece21340e896e8cec8e3f8ef4383d3.tar.zst bsdgames-darwin-90a7b8b0ddece21340e896e8cec8e3f8ef4383d3.zip |
Remove config for the return type of signal handlers, which is also a
long-dead issue.
Diffstat (limited to 'hunt/hunt')
-rw-r--r-- | hunt/hunt/hunt.c | 14 | ||||
-rw-r--r-- | hunt/hunt/otto.c | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c index 81702aa3..291f50d5 100644 --- a/hunt/hunt/hunt.c +++ b/hunt/hunt/hunt.c @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.c,v 1.32 2009/07/04 05:01:16 dholland Exp $ */ +/* $NetBSD: hunt.c,v 1.33 2009/07/04 06:38:34 dholland 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.32 2009/07/04 05:01:16 dholland Exp $"); +__RCSID("$NetBSD: hunt.c,v 1.33 2009/07/04 06:38:34 dholland Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -746,7 +746,7 @@ bad_ver(void) * sigterm: * Handle a terminate signal */ -SIGNAL_TYPE +void sigterm(int dummy __unused) { leavex(0, NULL); @@ -758,7 +758,7 @@ sigterm(int dummy __unused) * sigusr1: * Handle a usr1 signal */ -SIGNAL_TYPE +void sigusr1(int dummy __unused) { leavex(1, "Unable to start driver. Try again."); @@ -770,7 +770,7 @@ sigusr1(int dummy __unused) * sigalrm: * Handle an alarm signal */ -SIGNAL_TYPE +void sigalrm(int dummy __unused) { return; @@ -795,7 +795,7 @@ rmnl(char *s) * intr: * Handle a interrupt signal */ -SIGNAL_TYPE +void intr(int dummy __unused) { int ch; @@ -903,7 +903,7 @@ leavex(int eval, const char *mesg) * tstp: * Handle stop and start signals */ -SIGNAL_TYPE +void tstp(int dummy __unused) { #if BSD_RELEASE < 44 diff --git a/hunt/hunt/otto.c b/hunt/hunt/otto.c index 7f7b5dc8..47dd0383 100644 --- a/hunt/hunt/otto.c +++ b/hunt/hunt/otto.c @@ -1,4 +1,4 @@ -/* $NetBSD: otto.c,v 1.13 2009/07/04 05:01:16 dholland Exp $ */ +/* $NetBSD: otto.c,v 1.14 2009/07/04 06:38:34 dholland 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.13 2009/07/04 05:01:16 dholland Exp $"); +__RCSID("$NetBSD: otto.c,v 1.14 2009/07/04 06:38:34 dholland Exp $"); #endif /* not lint */ #include <sys/time.h> @@ -148,13 +148,13 @@ 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 void nothing(int); STATIC int stop_look(struct item *, char, int, int); STATIC void wander(void); extern int Otto_count; -STATIC SIGNAL_TYPE +STATIC void nothing(int dummy __unused) { } |