summaryrefslogtreecommitdiffstats
path: root/backgammon
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-07-26 20:56:03 +0000
committerhubertf <hubertf@NetBSD.org>1999-07-26 20:56:03 +0000
commitf8e5a55fcd64d3930e27c7729a7fa6a09bdc8fa9 (patch)
treef22119ea63a379e2f43163aad5b2303d94a98e16 /backgammon
parent7ae31d57ebb4be2558b6fb755d730c1f05a73845 (diff)
downloadbsdgames-darwin-f8e5a55fcd64d3930e27c7729a7fa6a09bdc8fa9.tar.gz
bsdgames-darwin-f8e5a55fcd64d3930e27c7729a7fa6a09bdc8fa9.tar.zst
bsdgames-darwin-f8e5a55fcd64d3930e27c7729a7fa6a09bdc8fa9.zip
This patch adds to backgammon(6) a couple of noreturn attributes
missed in bin/6144. Patch submitted in PR 8082 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'backgammon')
-rw-r--r--backgammon/common_source/back.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backgammon/common_source/back.h b/backgammon/common_source/back.h
index f507061e..4f29b622 100644
--- a/backgammon/common_source/back.h
+++ b/backgammon/common_source/back.h
@@ -1,4 +1,4 @@
-/* $NetBSD: back.h,v 1.10 1999/02/10 12:29:47 hubertf Exp $ */
+/* $NetBSD: back.h,v 1.11 1999/07/26 20:56:03 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -146,7 +146,7 @@ void cline __P((void));
int count __P((void));
void curmove __P((int, int));
int dotable __P((char, int));
-void errexit __P((const char *));
+void errexit __P((const char *)) __attribute__((__noreturn__));
void fancyc __P((int));
void fboard __P((void));
void fixcol __P((int, int, int, int, int));
@@ -168,7 +168,7 @@ int movokay __P((int));
void newline __P((void));
void newpos __P((void));
void nexturn __P((void));
-void norec __P((const char *));
+void norec __P((const char *)) __attribute__((__noreturn__));
void odds __P((int, int, int));
void proll __P((void));
int quit __P((void));