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 --- battlestar/command6.c | 6 +++--- battlestar/fly.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'battlestar') 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; -- cgit v1.2.3-56-ge451