summaryrefslogtreecommitdiffstats
path: root/hack
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2011-08-27 23:42:33 +0000
committerjoerg <joerg@NetBSD.org>2011-08-27 23:42:33 +0000
commit541875a6ead0d5cd39c1ac898f463a0a32781c02 (patch)
treec8859df77075e3f2d06b1bb6f12b7f8936c10f81 /hack
parent6ec88aa970f7ab9c74f4cecdaab2ad56997bfca2 (diff)
downloadbsdgames-darwin-541875a6ead0d5cd39c1ac898f463a0a32781c02.tar.gz
bsdgames-darwin-541875a6ead0d5cd39c1ac898f463a0a32781c02.tar.zst
bsdgames-darwin-541875a6ead0d5cd39c1ac898f463a0a32781c02.zip
Mark error() as dead, so that validation for setclipped works correctly.
Diffstat (limited to 'hack')
-rw-r--r--hack/extern.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/extern.h b/hack/extern.h
index 152536b4..b28badb7 100644
--- a/hack/extern.h
+++ b/hack/extern.h
@@ -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 drown(void);
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 *);