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/huntd | |
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/huntd')
-rw-r--r-- | hunt/huntd/driver.c | 6 | ||||
-rw-r--r-- | hunt/huntd/faketalk.c | 8 | ||||
-rw-r--r-- | hunt/huntd/hunt.h | 16 |
3 files changed, 15 insertions, 15 deletions
diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c index 86c3a5d7..9d446d5f 100644 --- a/hunt/huntd/driver.c +++ b/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: driver.c,v 1.18 2009/07/04 06:31:31 dholland Exp $ */ +/* $NetBSD: driver.c,v 1.19 2009/07/04 06:38:35 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: driver.c,v 1.18 2009/07/04 06:31:31 dholland Exp $"); +__RCSID("$NetBSD: driver.c,v 1.19 2009/07/04 06:38:35 dholland Exp $"); #endif /* not lint */ #include <sys/ioctl.h> @@ -847,7 +847,7 @@ check_again: * cleanup: * Exit with the given value, cleaning up any droppings lying around */ -SIGNAL_TYPE +void cleanup(int eval) { PLAYER *pp; diff --git a/hunt/huntd/faketalk.c b/hunt/huntd/faketalk.c index df948445..6a8a531e 100644 --- a/hunt/huntd/faketalk.c +++ b/hunt/huntd/faketalk.c @@ -1,4 +1,4 @@ -/* $NetBSD: faketalk.c,v 1.15 2009/07/04 04:29:54 dholland Exp $ */ +/* $NetBSD: faketalk.c,v 1.16 2009/07/04 06:38:35 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: faketalk.c,v 1.15 2009/07/04 04:29:54 dholland Exp $"); +__RCSID("$NetBSD: faketalk.c,v 1.16 2009/07/04 06:38:35 dholland Exp $"); #endif /* not lint */ #include "bsd.h" @@ -67,13 +67,13 @@ extern char *First_arg, *Last_arg; extern char **environ; static void do_announce(char *); -SIGNAL_TYPE exorcise(int); +void exorcise(int); /* * exorcise - disspell zombies */ -SIGNAL_TYPE +void exorcise(int dummy __unused) { (void) wait(0); diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h index 2c46ea8d..1b98b276 100644 --- a/hunt/huntd/hunt.h +++ b/hunt/huntd/hunt.h @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.h,v 1.15 2009/07/04 04:29:54 dholland Exp $ */ +/* $NetBSD: hunt.h,v 1.16 2009/07/04 06:38:35 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -477,10 +477,10 @@ void start_driver(void); void stmonitor(PLAYER *); void stplayer(PLAYER *, int); char translate(char); -SIGNAL_TYPE cleanup(int) __dead; -SIGNAL_TYPE intr(int); -SIGNAL_TYPE sigalrm(int); -SIGNAL_TYPE sigemt(int) __dead; -SIGNAL_TYPE sigterm(int) __dead; -SIGNAL_TYPE sigusr1(int) __dead; -SIGNAL_TYPE tstp(int); +void cleanup(int) __dead; +void intr(int); +void sigalrm(int); +void sigemt(int) __dead; +void sigterm(int) __dead; +void sigusr1(int) __dead; +void tstp(int); |