summaryrefslogtreecommitdiff
path: root/games/worms
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
commit8b0f9554ff8762542c4defc4f70e1eb76fb508fa (patch)
treee4ba004e9b95ba0118be0965790e81f9b4803609 /games/worms
parent381f4068aea50b74700b6a03c4ae538254ae6be3 (diff)
convert __attribute__s to applicable cdefs.h macros
Diffstat (limited to 'games/worms')
-rw-r--r--games/worms/worms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/worms/worms.c b/games/worms/worms.c
index 88fc47a5a1a..bf0c97017ca 100644
--- a/games/worms/worms.c
+++ b/games/worms/worms.c
@@ -1,4 +1,4 @@
-/* $NetBSD: worms.c,v 1.16 2004/09/12 04:51:32 christos Exp $ */
+/* $NetBSD: worms.c,v 1.17 2007/12/15 19:44:45 perry Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)worms.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: worms.c,v 1.16 2004/09/12 04:51:32 christos Exp $");
+__RCSID("$NetBSD: worms.c,v 1.17 2007/12/15 19:44:45 perry Exp $");
#endif
#endif /* not lint */
@@ -180,7 +180,7 @@ static struct worm {
volatile sig_atomic_t sig_caught = 0;
int main(int, char **);
-void nomem(void) __attribute__((__noreturn__));
+void nomem(void) __dead;
void onsig(int);
int
@@ -340,7 +340,7 @@ main(argc, argv)
void
onsig(signo)
- int signo __attribute__((__unused__));
+ int signo __unused;
{
sig_caught = 1;
}