diff options
author | 2011-08-26 06:18:16 +0000 | |
---|---|---|
committer | 2011-08-26 06:18:16 +0000 | |
commit | 9e7fd816e02e66962d482b02209f112e1d5789fc (patch) | |
tree | a17f6ea5c647e0ec62bfe7ecad4192e0335b121b /rogue/score.c | |
parent | 9969175ad6caac230e2fee18f6f64f2be17a1fa6 (diff) | |
download | bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.gz bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.tar.zst bsdgames-darwin-9e7fd816e02e66962d482b02209f112e1d5789fc.zip |
Use __dead and __printflike instead of __attribute__.
Diffstat (limited to 'rogue/score.c')
-rw-r--r-- | rogue/score.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rogue/score.c b/rogue/score.c index 231f0c6d..4bcf4e36 100644 --- a/rogue/score.c +++ b/rogue/score.c @@ -1,4 +1,4 @@ -/* $NetBSD: score.c,v 1.15 2009/08/12 08:44:45 dholland Exp $ */ +/* $NetBSD: score.c,v 1.16 2011/08/26 06:18:17 dholland Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)score.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: score.c,v 1.15 2009/08/12 08:44:45 dholland Exp $"); +__RCSID("$NetBSD: score.c,v 1.16 2011/08/26 06:18:17 dholland Exp $"); #endif #endif /* not lint */ @@ -61,7 +61,7 @@ static void center(short, const char *); static int get_value(const object *); static void id_all(void); static void sell_pack(void); -static void sf_error(void) __attribute__((__noreturn__)); +static void sf_error(void) __dead; void killed_by(const object *monster, short other) |