summaryrefslogtreecommitdiffstats
path: root/canfield
diff options
context:
space:
mode:
authorperry <perry@NetBSD.org>2007-12-15 19:44:37 +0000
committerperry <perry@NetBSD.org>2007-12-15 19:44:37 +0000
commit5b76eed8435d83619f278cc1584ca5751e2804f6 (patch)
tree95b484c27260594d4e5c7b00cdcfd394d46911b1 /canfield
parent1241b50c5ecd257030f9ddd40c9009a0a4c55ee8 (diff)
downloadbsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.gz
bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.zst
bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.zip
convert __attribute__s to applicable cdefs.h macros
Diffstat (limited to 'canfield')
-rw-r--r--canfield/canfield/canfield.c10
1 files changed, 5 insertions, 5 deletions
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? ");