From 9e7fd816e02e66962d482b02209f112e1d5789fc Mon Sep 17 00:00:00 2001 From: dholland Date: Fri, 26 Aug 2011 06:18:16 +0000 Subject: Use __dead and __printflike instead of __attribute__. --- backgammon/common_source/save.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backgammon/common_source/save.c') diff --git a/backgammon/common_source/save.c b/backgammon/common_source/save.c index 2e7f29c1..57e8a054 100644 --- a/backgammon/common_source/save.c +++ b/backgammon/common_source/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.13 2009/08/12 05:17:57 dholland Exp $ */ +/* $NetBSD: save.c,v 1.14 2011/08/26 06:18:16 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: save.c,v 1.13 2009/08/12 05:17:57 dholland Exp $"); +__RCSID("$NetBSD: save.c,v 1.14 2011/08/26 06:18:16 dholland Exp $"); #endif #endif /* not lint */ @@ -53,7 +53,7 @@ static const char type[] = "'.\nType \"backgammon "; static const char rec[] = "\" to recover your game.\n\n"; static const char cantrec[] = "Can't recover file: "; -static void norec(const char *) __attribute__((__noreturn__)); +static void norec(const char *) __dead; void save(int n) -- cgit v1.2.3