diff options
author | perry <perry@NetBSD.org> | 2007-12-15 19:44:37 +0000 |
---|---|---|
committer | perry <perry@NetBSD.org> | 2007-12-15 19:44:37 +0000 |
commit | 5b76eed8435d83619f278cc1584ca5751e2804f6 (patch) | |
tree | 95b484c27260594d4e5c7b00cdcfd394d46911b1 /battlestar | |
parent | 1241b50c5ecd257030f9ddd40c9009a0a4c55ee8 (diff) | |
download | bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.gz bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.tar.zst bsdgames-darwin-5b76eed8435d83619f278cc1584ca5751e2804f6.zip |
convert __attribute__s to applicable cdefs.h macros
Diffstat (limited to 'battlestar')
-rw-r--r-- | battlestar/command6.c | 6 | ||||
-rw-r--r-- | battlestar/fly.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/battlestar/command6.c b/battlestar/command6.c index c877c1f0..ef324c84 100644 --- a/battlestar/command6.c +++ b/battlestar/command6.c @@ -1,4 +1,4 @@ -/* $NetBSD: command6.c,v 1.3 2005/07/01 06:04:54 jmc Exp $ */ +/* $NetBSD: command6.c,v 1.4 2007/12/15 19:44:39 perry Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)com6.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: command6.c,v 1.3 2005/07/01 06:04:54 jmc Exp $"); +__RCSID("$NetBSD: command6.c,v 1.4 2007/12/15 19:44:39 perry Exp $"); #endif #endif /* not lint */ @@ -89,7 +89,7 @@ die(void) } void -diesig(int dummy __attribute__((__unused__))) +diesig(int dummy __unused) { die(); } diff --git a/battlestar/fly.c b/battlestar/fly.c index e2e298d3..6affb9d6 100644 --- a/battlestar/fly.c +++ b/battlestar/fly.c @@ -1,4 +1,4 @@ -/* $NetBSD: fly.c,v 1.13 2005/07/01 06:04:54 jmc Exp $ */ +/* $NetBSD: fly.c,v 1.14 2007/12/15 19:44:39 perry Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)fly.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: fly.c,v 1.13 2005/07/01 06:04:54 jmc Exp $"); +__RCSID("$NetBSD: fly.c,v 1.14 2007/12/15 19:44:39 perry Exp $"); #endif #endif /* not lint */ @@ -61,7 +61,7 @@ static void succumb(int); static void target(void); static void -succumb(int dummy __attribute__((__unused__))) +succumb(int dummy __unused) { if (oldsig == SIG_DFL) { endfly(); @@ -247,7 +247,7 @@ blast(void) } static void -moveenemy(int dummy __attribute__((__unused__))) +moveenemy(int dummy __unused) { double d; int oldr, oldc; |