summaryrefslogtreecommitdiffstats
path: root/hunt/huntd
diff options
context:
space:
mode:
Diffstat (limited to 'hunt/huntd')
-rw-r--r--hunt/huntd/faketalk.c6
-rw-r--r--hunt/huntd/hunt.h12
2 files changed, 9 insertions, 9 deletions
diff --git a/hunt/huntd/faketalk.c b/hunt/huntd/faketalk.c
index c9237b5a..593cb4a0 100644
--- a/hunt/huntd/faketalk.c
+++ b/hunt/huntd/faketalk.c
@@ -1,4 +1,4 @@
-/* $NetBSD: faketalk.c,v 1.9 2004/01/27 20:30:29 jsm Exp $ */
+/* $NetBSD: faketalk.c,v 1.10 2004/02/08 22:23:50 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: faketalk.c,v 1.9 2004/01/27 20:30:29 jsm Exp $");
+__RCSID("$NetBSD: faketalk.c,v 1.10 2004/02/08 22:23:50 jsm Exp $");
#endif /* not lint */
#include "bsd.h"
@@ -74,7 +74,7 @@ SIGNAL_TYPE exorcise(int);
SIGNAL_TYPE
exorcise(dummy)
- int dummy;
+ int dummy __attribute__((__unused__));
{
(void) wait(0);
}
diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h
index 10f35af5..0d061d14 100644
--- a/hunt/huntd/hunt.h
+++ b/hunt/huntd/hunt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.h,v 1.10 2004/01/27 20:30:29 jsm Exp $ */
+/* $NetBSD: hunt.h,v 1.11 2004/02/08 22:23:50 jsm Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
@@ -417,8 +417,8 @@ extern FLAG no_beep;
void add_shot(int, int, int, char, int, PLAYER *, int, char);
int answer(void);
-void bad_con(void);
-void bad_ver(void);
+void bad_con(void) __attribute__((__noreturn__));
+void bad_ver(void) __attribute__((__noreturn__));
int broadcast_vec(int, struct sockaddr **);
void ce(PLAYER *);
void cgoto(PLAYER *, int, int);
@@ -475,7 +475,7 @@ char translate(char);
SIGNAL_TYPE cleanup(int) __attribute__((__noreturn__));
SIGNAL_TYPE intr(int);
SIGNAL_TYPE sigalrm(int);
-SIGNAL_TYPE sigemt(int);
-SIGNAL_TYPE sigterm(int);
-SIGNAL_TYPE sigusr1(int);
+SIGNAL_TYPE sigemt(int) __attribute__((__noreturn__));
+SIGNAL_TYPE sigterm(int) __attribute__((__noreturn__));
+SIGNAL_TYPE sigusr1(int) __attribute__((__noreturn__));
SIGNAL_TYPE tstp(int);