summaryrefslogtreecommitdiffstats
path: root/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
commit5b76eed8435d83619f278cc1584ca5751e2804f6 (patch)
tree95b484c27260594d4e5c7b00cdcfd394d46911b1 /worms
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 'worms')
-rw-r--r--worms/worms.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/worms/worms.c b/worms/worms.c
index 88fc47a5..bf0c9701 100644
--- a/worms/worms.c
+++ b/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;
}