summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-09-13 15:27:25 +0000
committerhubertf <hubertf@NetBSD.org>1998-09-13 15:27:25 +0000
commita2515e35506e73e8f6422799dea7f4834cd0f558 (patch)
tree04fd3cbcf147e619b8b2e6291fffb4c4a5b8a591 /hunt
parent6d7ed08d8c880aa89994f5978dff0cef8d6aaeb3 (diff)
downloadbsdgames-darwin-a2515e35506e73e8f6422799dea7f4834cd0f558.tar.gz
bsdgames-darwin-a2515e35506e73e8f6422799dea7f4834cd0f558.tar.zst
bsdgames-darwin-a2515e35506e73e8f6422799dea7f4834cd0f558.zip
mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)
Diffstat (limited to 'hunt')
-rw-r--r--hunt/hunt/hunt.c6
-rw-r--r--hunt/huntd/hunt.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index dd1ab7a1..e527c312 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.7 1998/08/30 09:19:37 veego Exp $ */
+/* $NetBSD: hunt.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.7 1998/08/30 09:19:37 veego Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $");
#endif /* not lint */
# include <sys/stat.h>
@@ -87,7 +87,7 @@ 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 *));
+void leave __P((int, char *)) __attribute__((__noreturn__));
int main __P((int, char *[]));
# ifdef INTERNET
SOCKET *list_drivers __P((void));
diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h
index 1864a472..95072e55 100644
--- a/hunt/huntd/hunt.h
+++ b/hunt/huntd/hunt.h
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.h,v 1.4 1998/09/11 13:46:30 hubertf Exp $ */
+/* $NetBSD: hunt.h,v 1.5 1998/09/13 15:27:28 hubertf Exp $ */
/*
* Hunt
@@ -446,7 +446,7 @@ void start_driver __P((void));
void stmonitor __P((PLAYER *));
void stplayer __P((PLAYER *, int));
char translate __P((char));
-SIGNAL_TYPE cleanup __P((int));
+SIGNAL_TYPE cleanup __P((int)) __attribute__((__noreturn__));
SIGNAL_TYPE intr __P((int));
SIGNAL_TYPE sigalrm __P((int));
SIGNAL_TYPE sigemt __P((int));