summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arithmetic/arithmetic.c8
-rw-r--r--atc/extern.h6
-rw-r--r--backgammon/teachgammon/tutor.h6
-rw-r--r--battlestar/extern.h8
-rw-r--r--boggle/boggle/extern.h4
-rw-r--r--caesar/caesar.c6
-rw-r--r--canfield/canfield/canfield.c6
-rw-r--r--cribbage/cribbage.h4
-rw-r--r--dm/dm.c6
-rw-r--r--factor/factor.c6
-rw-r--r--fish/fish.c6
-rw-r--r--fortune/fortune/fortune.c6
-rw-r--r--fortune/strfile/strfile.c6
-rw-r--r--gomoku/gomoku.h8
-rw-r--r--hunt/hunt/hunt.c6
-rw-r--r--hunt/huntd/hunt.h4
-rw-r--r--mille/mille.h4
-rw-r--r--pig/pig.c6
-rw-r--r--primes/primes.c6
-rw-r--r--quiz/quiz.c6
-rw-r--r--robots/robots.h4
-rw-r--r--rogue/rogue.h12
-rw-r--r--sail/extern.h6
-rw-r--r--snake/snake/snake.h6
-rw-r--r--tetris/tetris.c6
-rw-r--r--tetris/tetris.h4
-rw-r--r--worm/worm.c8
-rw-r--r--worms/worms.c8
-rw-r--r--wump/wump.c6
29 files changed, 89 insertions, 89 deletions
diff --git a/arithmetic/arithmetic.c b/arithmetic/arithmetic.c
index 3150717e..2042095e 100644
--- a/arithmetic/arithmetic.c
+++ b/arithmetic/arithmetic.c
@@ -1,4 +1,4 @@
-/* $NetBSD: arithmetic.c,v 1.10 1998/02/03 05:33:32 perry Exp $ */
+/* $NetBSD: arithmetic.c,v 1.11 1998/09/13 15:27:25 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)arithmetic.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: arithmetic.c,v 1.10 1998/02/03 05:33:32 perry Exp $");
+__RCSID("$NetBSD: arithmetic.c,v 1.11 1998/09/13 15:27:25 hubertf Exp $");
#endif
#endif /* not lint */
@@ -89,13 +89,13 @@ __RCSID("$NetBSD: arithmetic.c,v 1.10 1998/02/03 05:33:32 perry Exp $");
#include <unistd.h>
int getrandom __P((int, int, int));
-void intr __P((int));
+void intr __P((int)) __attribute__((__noreturn__));
int main __P((int, char *[]));
int opnum __P((int));
void penalise __P((int, int, int));
int problem __P((void));
void showstats __P((void));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
char keylist[] = "+-x/";
char defaultkeys[] = "+-";
diff --git a/atc/extern.h b/atc/extern.h
index e233c1c8..397c500b 100644
--- a/atc/extern.h
+++ b/atc/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.5 1997/10/10 02:07:06 lukem Exp $ */
+/* $NetBSD: extern.h,v 1.6 1998/09/13 15:27:26 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -89,8 +89,8 @@ void ioerror __P((int, int, char *));
void iomove __P((int));
int list_games __P((void));
int log_score __P((int));
-void log_score_quit __P((int));
-void loser __P((PLANE *, char *));
+void log_score_quit __P((int)) __attribute__((__noreturn__));
+void loser __P((PLANE *, char *)) __attribute__((__noreturn__));
int main __P((int, char *[]));
char name __P((PLANE *));
int next_plane __P((void));
diff --git a/backgammon/teachgammon/tutor.h b/backgammon/teachgammon/tutor.h
index caf40e38..b709d075 100644
--- a/backgammon/teachgammon/tutor.h
+++ b/backgammon/teachgammon/tutor.h
@@ -1,4 +1,4 @@
-/* $NetBSD: tutor.h,v 1.4 1997/10/10 08:59:55 lukem Exp $ */
+/* $NetBSD: tutor.h,v 1.5 1998/09/13 15:27:26 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -68,5 +68,5 @@ extern struct situatn test[];
int brdeq __P((int *, int *));
void clrest __P((void));
-void leave __P((void));
-void tutor __P((void));
+void leave __P((void)) __attribute__((__noreturn__));
+void tutor __P((void)) __attribute__((__noreturn__));
diff --git a/battlestar/extern.h b/battlestar/extern.h
index d0053a8c..c659bb89 100644
--- a/battlestar/extern.h
+++ b/battlestar/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.8 1998/03/29 04:49:06 mrg Exp $ */
+/* $NetBSD: extern.h,v 1.9 1998/09/13 15:27:26 hubertf Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -311,8 +311,8 @@ void chime __P((void));
void convert __P((int));
void crash __P((void));
int cypher __P((void));
-void die __P((void));
-void diesig __P((int));
+void die __P((void)) __attribute__((__noreturn__));
+void diesig __P((int)) __attribute__((__noreturn__));
void dig __P((void));
int draw __P((void));
void drink __P((void));
@@ -332,7 +332,7 @@ void kiss __P((void));
int land __P((void));
int launch __P((void));
void light __P((void));
-void live __P((void));
+void live __P((void)) __attribute__((__noreturn__));
void love __P((void));
int move __P((int, int));
void moveenemy __P((int));
diff --git a/boggle/boggle/extern.h b/boggle/boggle/extern.h
index fb0614ec..ea27172c 100644
--- a/boggle/boggle/extern.h
+++ b/boggle/boggle/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.3 1995/04/24 12:22:37 cgd Exp $ */
+/* $NetBSD: extern.h,v 1.4 1998/09/13 15:27:26 hubertf Exp $ */
/*-
* Copyright (c) 1993
@@ -69,5 +69,5 @@ void starttime __P((void));
void startwords __P((void));
void stoptime __P((void));
int timerch __P((void));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
int validword __P((char *));
diff --git a/caesar/caesar.c b/caesar/caesar.c
index 0291bbe3..b9c71efc 100644
--- a/caesar/caesar.c
+++ b/caesar/caesar.c
@@ -1,4 +1,4 @@
-/* $NetBSD: caesar.c,v 1.6 1997/10/11 02:40:39 lukem Exp $ */
+/* $NetBSD: caesar.c,v 1.7 1998/09/13 15:27:27 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -51,7 +51,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)caesar.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: caesar.c,v 1.6 1997/10/11 02:40:39 lukem Exp $");
+__RCSID("$NetBSD: caesar.c,v 1.7 1998/09/13 15:27:27 hubertf Exp $");
#endif
#endif /* not lint */
@@ -81,7 +81,7 @@ double stdf[26] = {
int main __P((int, char *[]));
-void printit __P((char *));
+void printit __P((char *)) __attribute__((__noreturn__));
int
main(argc, argv)
diff --git a/canfield/canfield/canfield.c b/canfield/canfield/canfield.c
index df43a915..5be6ed8a 100644
--- a/canfield/canfield/canfield.c
+++ b/canfield/canfield/canfield.c
@@ -1,4 +1,4 @@
-/* $NetBSD: canfield.c,v 1.10 1998/09/11 13:19:50 hubertf Exp $ */
+/* $NetBSD: canfield.c,v 1.11 1998/09/13 15:27:27 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)canfield.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: canfield.c,v 1.10 1998/09/11 13:19:50 hubertf Exp $");
+__RCSID("$NetBSD: canfield.c,v 1.11 1998/09/13 15:27:27 hubertf Exp $");
#endif
#endif /* not lint */
@@ -203,7 +203,7 @@ time_t acctstart;
int dbfd = -1;
void askquit __P((int));
-void cleanup __P((int));
+void cleanup __P((int)) __attribute__((__noreturn__));
void cleanupboard __P((void));
void clearabovemovebox __P((void));
void clearbelowmovebox __P((void));
diff --git a/cribbage/cribbage.h b/cribbage/cribbage.h
index 4ddec968..a28b4b06 100644
--- a/cribbage/cribbage.h
+++ b/cribbage/cribbage.h
@@ -1,4 +1,4 @@
-/* $NetBSD: cribbage.h,v 1.3 1995/03/21 15:08:46 cgd Exp $ */
+/* $NetBSD: cribbage.h,v 1.4 1998/09/13 15:27:27 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -106,7 +106,7 @@ void printcard __P((WINDOW *, int, CARD, BOOLEAN));
void prpeg __P((int, int, BOOLEAN));
void prtable __P((int));
int readchar __P((void));
-void rint __P((int));
+void rint __P((int)) __attribute__((__noreturn__));
int score __P((BOOLEAN));
int scorehand __P((CARD [], CARD, int, BOOLEAN, BOOLEAN));
void shuffle __P((CARD []));
diff --git a/dm/dm.c b/dm/dm.c
index 36e1ccac..fb8f5671 100644
--- a/dm/dm.c
+++ b/dm/dm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm.c,v 1.10 1998/09/13 12:34:43 hubertf Exp $ */
+/* $NetBSD: dm.c,v 1.11 1998/09/13 15:27:27 hubertf Exp $ */
/*
* Copyright (c) 1987, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\n\
#if 0
static char sccsid[] = "@(#)dm.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dm.c,v 1.10 1998/09/13 12:34:43 hubertf Exp $");
+__RCSID("$NetBSD: dm.c,v 1.11 1998/09/13 15:27:27 hubertf Exp $");
#endif
#endif /* not lint */
@@ -78,7 +78,7 @@ const char *hour __P((int));
double load __P((void));
int main __P((int, char *[]));
void nogamefile __P((void));
-void play __P((char **));
+void play __P((char **)) __attribute__((__noreturn__));
void read_config __P((void));
int users __P((void));
diff --git a/factor/factor.c b/factor/factor.c
index a0febe27..4c41cc81 100644
--- a/factor/factor.c
+++ b/factor/factor.c
@@ -1,4 +1,4 @@
-/* $NetBSD: factor.c,v 1.7 1997/10/10 12:51:32 lukem Exp $ */
+/* $NetBSD: factor.c,v 1.8 1998/09/13 15:27:27 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)factor.c 8.4 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: factor.c,v 1.7 1997/10/10 12:51:32 lukem Exp $");
+__RCSID("$NetBSD: factor.c,v 1.8 1998/09/13 15:27:27 hubertf Exp $");
#endif
#endif /* not lint */
@@ -90,7 +90,7 @@ extern ubig *pr_limit; /* largest prime in the prime array */
int main __P((int, char *[]));
void pr_fact __P((ubig)); /* print factors of a value */
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
int
main(argc, argv)
diff --git a/fish/fish.c b/fish/fish.c
index 182305e5..c81da3ff 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fish.c,v 1.5 1997/11/16 21:41:53 christos Exp $ */
+/* $NetBSD: fish.c,v 1.6 1998/09/13 15:27:27 hubertf Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993\n\
#if 0
static char sccsid[] = "@(#)fish.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fish.c,v 1.5 1997/11/16 21:41:53 christos Exp $");
+__RCSID("$NetBSD: fish.c,v 1.6 1998/09/13 15:27:27 hubertf Exp $");
#endif
#endif /* not lint */
@@ -94,7 +94,7 @@ int nrandom __P((int));
void printhand __P((int *));
void printplayer __P((int));
int promove __P((void));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
int usermove __P((void));
int
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c
index 17d95565..20de41ae 100644
--- a/fortune/fortune/fortune.c
+++ b/fortune/fortune/fortune.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fortune.c,v 1.13 1998/08/30 09:19:37 veego Exp $ */
+/* $NetBSD: fortune.c,v 1.14 1998/09/13 15:27:28 hubertf Exp $ */
/*-
* Copyright (c) 1986, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1986, 1993\n\
#if 0
static char sccsid[] = "@(#)fortune.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fortune.c,v 1.13 1998/08/30 09:19:37 veego Exp $");
+__RCSID("$NetBSD: fortune.c,v 1.14 1998/09/13 15:27:28 hubertf Exp $");
#endif
#endif /* not lint */
@@ -158,7 +158,7 @@ void print_file_list __P((void));
void print_list __P((FILEDESC *, int));
void sum_noprobs __P((FILEDESC *));
void sum_tbl __P((STRFILE *, STRFILE *));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
void zero_tbl __P((STRFILE *));
#ifndef NO_REGEX
diff --git a/fortune/strfile/strfile.c b/fortune/strfile/strfile.c
index 0e35ba24..f4ba208e 100644
--- a/fortune/strfile/strfile.c
+++ b/fortune/strfile/strfile.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strfile.c,v 1.7 1997/10/11 07:48:58 lukem Exp $ */
+/* $NetBSD: strfile.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: strfile.c,v 1.7 1997/10/11 07:48:58 lukem Exp $");
+__RCSID("$NetBSD: strfile.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $");
#endif
#endif /* not lint */
@@ -142,7 +142,7 @@ void getargs __P((int, char *[]));
int main __P((int, char *[]));
void randomize __P((void));
char *unctrl __P((char));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
/*
diff --git a/gomoku/gomoku.h b/gomoku/gomoku.h
index 1f7a11fa..9f304f80 100644
--- a/gomoku/gomoku.h
+++ b/gomoku/gomoku.h
@@ -1,4 +1,4 @@
-/* $NetBSD: gomoku.h,v 1.4 1997/10/10 13:36:03 lukem Exp $ */
+/* $NetBSD: gomoku.h,v 1.5 1998/09/13 15:27:28 hubertf Exp $ */
/*
* Copyright (c) 1994
@@ -275,11 +275,11 @@ void bdisp_init __P((void));
void cursfini __P((void));
void cursinit __P((void));
void bdwho __P((int));
-void panic __P((char *));
+void panic __P((char *)) __attribute__((__noreturn__));
void log __P((char *));
void dlog __P((char *));
-void quit __P((void));
-void quitsig __P((int));
+void quit __P((void)) __attribute__((__noreturn__));
+void quitsig __P((int)) __attribute__((__noreturn__));
void whatsup __P((int));
int readinput __P((FILE *));
char *stoc __P((int));
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));
diff --git a/mille/mille.h b/mille/mille.h
index 205bdab3..416e9f0d 100644
--- a/mille/mille.h
+++ b/mille/mille.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mille.h,v 1.8 1998/07/26 16:11:39 mycroft Exp $ */
+/* $NetBSD: mille.h,v 1.9 1998/09/13 15:27:29 hubertf Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -231,7 +231,7 @@ int canplay __P((PLAY *, PLAY *, CARD));
int check_ext __P((bool));
void check_go __P((void));
void check_more __P((void));
-void die __P((int));
+void die __P((int)) __attribute__((__noreturn__));
void domove __P((void));
bool error __P((const char *, ...));
void extrapolate __P((PLAY *));
diff --git a/pig/pig.c b/pig/pig.c
index a6a32739..028fe59b 100644
--- a/pig/pig.c
+++ b/pig/pig.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pig.c,v 1.6 1997/10/12 01:00:27 lukem Exp $ */
+/* $NetBSD: pig.c,v 1.7 1998/09/13 15:27:29 hubertf Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
#if 0
static char sccsid[] = "@(#)pig.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: pig.c,v 1.6 1997/10/12 01:00:27 lukem Exp $");
+__RCSID("$NetBSD: pig.c,v 1.7 1998/09/13 15:27:29 hubertf Exp $");
#endif
#endif /* not lint */
@@ -58,7 +58,7 @@ __RCSID("$NetBSD: pig.c,v 1.6 1997/10/12 01:00:27 lukem Exp $");
int main __P((int, char *[]));
void pigout __P((char *, int));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
int
main(argc, argv)
diff --git a/primes/primes.c b/primes/primes.c
index 3c1a18ca..ea6f0117 100644
--- a/primes/primes.c
+++ b/primes/primes.c
@@ -1,4 +1,4 @@
-/* $NetBSD: primes.c,v 1.7 1997/10/12 01:04:55 lukem Exp $ */
+/* $NetBSD: primes.c,v 1.8 1998/09/13 15:27:29 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)primes.c 8.5 (Berkeley) 5/10/95";
#else
-__RCSID("$NetBSD: primes.c,v 1.7 1997/10/12 01:04:55 lukem Exp $");
+__RCSID("$NetBSD: primes.c,v 1.8 1998/09/13 15:27:29 hubertf Exp $");
#endif
#endif /* not lint */
@@ -110,7 +110,7 @@ extern int pattern_size; /* length of pattern array */
int main __P((int, char *[]));
void primes __P((ubig, ubig));
ubig read_num_buf __P((void));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
int
main(argc, argv)
diff --git a/quiz/quiz.c b/quiz/quiz.c
index a2463b12..e9026ba5 100644
--- a/quiz/quiz.c
+++ b/quiz/quiz.c
@@ -1,4 +1,4 @@
-/* $NetBSD: quiz.c,v 1.12 1997/09/20 14:28:18 lukem Exp $ */
+/* $NetBSD: quiz.c,v 1.13 1998/09/13 15:27:29 hubertf Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993\n\
#if 0
static char sccsid[] = "@(#)quiz.c 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: quiz.c,v 1.12 1997/09/20 14:28:18 lukem Exp $");
+__RCSID("$NetBSD: quiz.c,v 1.13 1998/09/13 15:27:29 hubertf Exp $");
#endif
#endif /* not lint */
@@ -78,7 +78,7 @@ char *next_cat __P((char *));
void quiz __P((void));
void score __P((u_int, u_int, u_int));
void show_index __P((void));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
int
main(argc, argv)
diff --git a/robots/robots.h b/robots/robots.h
index ec487375..b572ec87 100644
--- a/robots/robots.h
+++ b/robots/robots.h
@@ -1,4 +1,4 @@
-/* $NetBSD: robots.h,v 1.7 1997/10/12 14:16:28 lukem Exp $ */
+/* $NetBSD: robots.h,v 1.8 1998/09/13 15:27:29 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -131,7 +131,7 @@ void move_robots __P((int));
bool must_telep __P((void));
void play_level __P((void));
int query __P((char *));
-void quit __P((int));
+void quit __P((int)) __attribute__((__noreturn__));
void reset_count __P((void));
int rnd __P((int));
COORD *rnd_pos __P((void));
diff --git a/rogue/rogue.h b/rogue/rogue.h
index 7a793b51..28acbf7b 100644
--- a/rogue/rogue.h
+++ b/rogue/rogue.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rogue.h,v 1.6 1998/07/27 01:12:36 mycroft Exp $ */
+/* $NetBSD: rogue.h,v 1.7 1998/09/13 15:27:30 hubertf Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -491,7 +491,7 @@ boolean check_hunger __P((boolean));
boolean check_imitator __P((object *));
void check_message __P((void));
int check_up __P((void));
-void clean_up __P((char *));
+void clean_up __P((char *)) __attribute__((__noreturn__));
void clear_level __P((void));
void cnfs __P((void));
int coin_toss __P((void));
@@ -517,7 +517,7 @@ void drop_level __P((void));
void eat __P((void));
void edit_opts __P((void));
void env_get_value __P((char **, char *, boolean));
-void error_save __P((int));
+void error_save __P((int)) __attribute__((__noreturn__));
void fight __P((int));
void fill_it __P((int, boolean));
void fill_out_level __P((void));
@@ -601,7 +601,7 @@ boolean mask_pack __P((object *, unsigned short));
boolean mask_room __P((short, short *, short *, unsigned short));
void md_cbreak_no_echo_nonl __P((boolean));
boolean md_df __P((char *));
-void md_exit __P((int));
+void md_exit __P((int)) __attribute__((__noreturn__));
void md_gct __P((struct rogue_time *));
char *md_gdtcf __P((void));
int md_get_file_id __P((char *));
@@ -663,7 +663,7 @@ void put_mons __P((void));
void put_objects __P((void));
void put_on_ring __P((void));
void put_player __P((short));
-void put_scores __P((object *, short));
+void put_scores __P((object *, short)) __attribute__((__noreturn__));
void put_stairs __P((void));
void quaff __P((void));
void quit __P((boolean));
@@ -703,7 +703,7 @@ void save_screen __P((void));
void search __P((short, boolean));
boolean seek_gold __P((object *));
void sell_pack __P((void));
-void sf_error __P((void));
+void sf_error __P((void)) __attribute__((__noreturn__));
void show_average_hp __P((void));
void show_monsters __P((void));
void show_objects __P((void));
diff --git a/sail/extern.h b/sail/extern.h
index c35ea7c8..935ec48c 100644
--- a/sail/extern.h
+++ b/sail/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.7 1998/07/25 10:52:14 hubertf Exp $ */
+/* $NetBSD: extern.h,v 1.8 1998/09/13 15:27:30 hubertf Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -367,8 +367,8 @@ int boarding __P((struct ship *, int));
void unboard __P((struct ship *, struct ship *, int));
/* pl_1.c */
-void leave __P((int));
-void choke __P((int));
+void leave __P((int)) __attribute__((__noreturn__));
+void choke __P((int)) __attribute__((__noreturn__));
void child __P((int));
/* pl_2.c */
diff --git a/snake/snake/snake.h b/snake/snake/snake.h
index 64337ea5..d2ea8f17 100644
--- a/snake/snake/snake.h
+++ b/snake/snake/snake.h
@@ -1,4 +1,4 @@
-/* $NetBSD: snake.h,v 1.9 1997/10/14 01:02:53 lukem Exp $ */
+/* $NetBSD: snake.h,v 1.10 1998/09/13 15:27:30 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -89,7 +89,7 @@ void clear __P((void));
void cook __P((void));
void cr __P((void));
void delay __P((int));
-void done __P((void));
+void done __P((void)) __attribute__((__noreturn__));
void down __P((void));
void drawbox __P((void));
void flushi __P((void));
@@ -118,7 +118,7 @@ void snap __P((void));
void snap __P((void));
void snrand __P((struct point *));
void spacewarp __P((int));
-void stop __P((int));
+void stop __P((int)) __attribute__((__noreturn__));
int stretch __P((struct point *));
int stretch __P((struct point *));
void surround __P((struct point *));
diff --git a/tetris/tetris.c b/tetris/tetris.c
index 0b08ddab..b2f0006c 100644
--- a/tetris/tetris.c
+++ b/tetris/tetris.c
@@ -1,4 +1,4 @@
-/* $NetBSD: tetris.c,v 1.4 1998/08/10 02:25:45 perry Exp $ */
+/* $NetBSD: tetris.c,v 1.5 1998/09/13 15:27:30 hubertf Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -64,8 +64,8 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
static void elide __P((void));
static void setup_board __P((void));
int main __P((int, char **));
- void onintr __P((int));
- void usage __P((void));
+ void onintr __P((int)) __attribute__((__noreturn__));
+ void usage __P((void)) __attribute__((__noreturn__));
/*
* Set up the initial board. The bottom display row is completely set,
diff --git a/tetris/tetris.h b/tetris/tetris.h
index 90e9c5d5..0aa41056 100644
--- a/tetris/tetris.h
+++ b/tetris/tetris.h
@@ -1,4 +1,4 @@
-/* $NetBSD: tetris.h,v 1.2 1995/04/22 07:42:48 cgd Exp $ */
+/* $NetBSD: tetris.h,v 1.3 1998/09/13 15:27:30 hubertf Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -168,4 +168,4 @@ char key_msg[100];
int fits_in __P((struct shape *, int));
void place __P((struct shape *, int, int));
-void stop __P((char *));
+void stop __P((char *)) __attribute__((__noreturn__));
diff --git a/worm/worm.c b/worm/worm.c
index 0a7b96ef..57e0f2dc 100644
--- a/worm/worm.c
+++ b/worm/worm.c
@@ -1,4 +1,4 @@
-/* $NetBSD: worm.c,v 1.8 1997/10/12 02:12:48 lukem Exp $ */
+/* $NetBSD: worm.c,v 1.9 1998/09/13 15:27:30 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: worm.c,v 1.8 1997/10/12 02:12:48 lukem Exp $");
+__RCSID("$NetBSD: worm.c,v 1.9 1998/09/13 15:27:30 hubertf Exp $");
#endif
#endif /* not lint */
@@ -82,10 +82,10 @@ int start_len = LENGTH;
char lastch;
char outbuf[BUFSIZ];
-void crash __P((void));
+void crash __P((void)) __attribute__((__noreturn__));
void display __P((struct body *, char));
int main __P((int, char **));
-void leave __P((int));
+void leave __P((int)) __attribute__((__noreturn__));
void life __P((void));
void newpos __P((struct body *));
void process __P((char));
diff --git a/worms/worms.c b/worms/worms.c
index b0731afd..9452986f 100644
--- a/worms/worms.c
+++ b/worms/worms.c
@@ -1,4 +1,4 @@
-/* $NetBSD: worms.c,v 1.9 1997/10/12 02:18:25 lukem Exp $ */
+/* $NetBSD: worms.c,v 1.10 1998/09/13 15:27:31 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)worms.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: worms.c,v 1.9 1997/10/12 02:18:25 lukem Exp $");
+__RCSID("$NetBSD: worms.c,v 1.10 1998/09/13 15:27:31 hubertf Exp $");
#endif
#endif /* not lint */
@@ -185,8 +185,8 @@ static struct worm {
void fputchar __P((int));
int main __P((int, char **));
-void nomem __P((void));
-void onsig __P((int));
+void nomem __P((void)) __attribute__((__noreturn__));
+void onsig __P((int)) __attribute__((__noreturn__));
int tgetent __P((char *, char *));
int tgetflag __P((char *));
int tgetnum __P((char *));
diff --git a/wump/wump.c b/wump/wump.c
index bcffa5eb..5debc517 100644
--- a/wump/wump.c
+++ b/wump/wump.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wump.c,v 1.6 1998/08/30 09:19:41 veego Exp $ */
+/* $NetBSD: wump.c,v 1.7 1998/09/13 15:27:31 hubertf Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)wump.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: wump.c,v 1.6 1998/08/30 09:19:41 veego Exp $");
+__RCSID("$NetBSD: wump.c,v 1.7 1998/09/13 15:27:31 hubertf Exp $");
#endif
#endif /* not lint */
@@ -133,7 +133,7 @@ void pit_survive __P((void));
int shoot __P((char *));
void shoot_self __P((void));
int take_action __P((void));
-void usage __P((void));
+void usage __P((void)) __attribute__((__noreturn__));
void wump_kill __P((void));
int wump_nearby __P((void));