Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/backgammon/common_source This patch adds to backgammon...



details:   https://anonhg.NetBSD.org/src/rev/1a4fb55034d6
branches:  trunk
changeset: 474934:1a4fb55034d6
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Mon Jul 26 20:56:03 1999 +0000

description:
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@localhost>

diffstat:

 games/backgammon/common_source/back.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a869bd3d9aa8 -r 1a4fb55034d6 games/backgammon/common_source/back.h
--- a/games/backgammon/common_source/back.h     Mon Jul 26 20:50:44 1999 +0000
+++ b/games/backgammon/common_source/back.h     Mon Jul 26 20:56:03 1999 +0000
@@ -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 @@
 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 @@
 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));



Home | Main Index | Thread Index | Old Index