summaryrefslogtreecommitdiffstats
path: root/battlestar
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 /battlestar
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 'battlestar')
-rw-r--r--battlestar/extern.h8
1 files changed, 4 insertions, 4 deletions
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));