From 5b76eed8435d83619f278cc1584ca5751e2804f6 Mon Sep 17 00:00:00 2001 From: perry Date: Sat, 15 Dec 2007 19:44:37 +0000 Subject: convert __attribute__s to applicable cdefs.h macros --- canfield/canfield/canfield.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'canfield') diff --git a/canfield/canfield/canfield.c b/canfield/canfield/canfield.c index e7fbefb9..a16ce2e8 100644 --- a/canfield/canfield/canfield.c +++ b/canfield/canfield/canfield.c @@ -1,4 +1,4 @@ -/* $NetBSD: canfield.c,v 1.22 2006/02/25 02:06:08 wiz Exp $ */ +/* $NetBSD: canfield.c,v 1.23 2007/12/15 19:44:39 perry Exp $ */ /* * Copyright (c) 1980, 1993 @@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\ #if 0 static char sccsid[] = "@(#)canfield.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: canfield.c,v 1.22 2006/02/25 02:06:08 wiz Exp $"); +__RCSID("$NetBSD: canfield.c,v 1.23 2007/12/15 19:44:39 perry Exp $"); #endif #endif /* not lint */ @@ -199,7 +199,7 @@ time_t acctstart; int dbfd = -1; void askquit(int); -void cleanup(int) __attribute__((__noreturn__)); +void cleanup(int) __dead; void cleanupboard(void); void clearabovemovebox(void); void clearbelowmovebox(void); @@ -1720,7 +1720,7 @@ finish(void) * procedure to clean up and exit */ void -cleanup(int dummy __attribute__((__unused__))) +cleanup(int dummy __unused) { total.thinktime += 1; @@ -1743,7 +1743,7 @@ cleanup(int dummy __attribute__((__unused__))) * Field an interrupt. */ void -askquit(int dummy __attribute__((__unused__))) +askquit(int dummy __unused) { move(msgrow, msgcol); printw("Really wish to quit? "); -- cgit v1.2.3-56-ge451