summaryrefslogtreecommitdiffstats
path: root/mille
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-08-26 06:18:16 +0000
committerdholland <dholland@NetBSD.org>2011-08-26 06:18:16 +0000
commit9e7fd816e02e66962d482b02209f112e1d5789fc (patch)
treea17f6ea5c647e0ec62bfe7ecad4192e0335b121b /mille
parent9969175ad6caac230e2fee18f6f64f2be17a1fa6 (diff)
downloadbsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.gz
bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.zst
bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.zip
Use __dead and __printflike instead of __attribute__.
Diffstat (limited to 'mille')
-rw-r--r--mille/mille.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mille/mille.h b/mille/mille.h
index 10326d89..0121b0d6 100644
--- a/mille/mille.h
+++ b/mille/mille.h
@@ -1,4 +1,4 @@
-/* $NetBSD: mille.h,v 1.18 2011/08/16 11:14:04 christos Exp $ */
+/* $NetBSD: mille.h,v 1.19 2011/08/26 06:18:17 dholland Exp $ */
/*
* Copyright (c) 1982, 1993
@@ -237,9 +237,9 @@ void calcmove(void);
int canplay(const PLAY *, const PLAY *, CARD);
int check_ext(bool);
void check_more(void);
-void die(int) __attribute__((__noreturn__));
+void die(int) __dead;
void domove(void);
-bool error(const char *, ...);
+bool error(const char *, ...) __printflike(1,2);
void extrapolate(PLAY *);
void finalscore(PLAY *);
CARD getcard(void);