Source-Changes-HG archive

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

[src/trunk]: src/games/hack Mark error() as dead, so that validation for setc...



details:   https://anonhg.NetBSD.org/src/rev/a6e31c844695
branches:  trunk
changeset: 768850:a6e31c844695
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sat Aug 27 23:42:33 2011 +0000

description:
Mark error() as dead, so that validation for setclipped works correctly.

diffstat:

 games/hack/extern.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e89dc039b4a0 -r a6e31c844695 games/hack/extern.h
--- a/games/hack/extern.h       Sat Aug 27 23:31:12 2011 +0000
+++ b/games/hack/extern.h       Sat Aug 27 23:42:33 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: extern.h,v 1.17 2011/08/26 06:18:17 dholland Exp $     */
+/*     $NetBSD: extern.h,v 1.18 2011/08/27 23:42:33 joerg Exp $        */
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -449,7 +449,7 @@
 void gettty(void);
 void settty(const char *);
 void setftty(void);
-void error(const char *, ...) __printflike(1, 2);
+void error(const char *, ...) __printflike(1, 2) __dead;
 void getlin(char *);
 void getret(void);
 void cgetret(const char *);



Home | Main Index | Thread Index | Old Index