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 --- hack/hack.apply.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hack/hack.apply.c') diff --git a/hack/hack.apply.c b/hack/hack.apply.c index 391cbf41..6c119503 100644 --- a/hack/hack.apply.c +++ b/hack/hack.apply.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.apply.c,v 1.8 2004/01/27 20:30:29 jsm Exp $ */ +/* $NetBSD: hack.apply.c,v 1.9 2007/12/15 19:44:41 perry Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,7 +63,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.apply.c,v 1.8 2004/01/27 20:30:29 jsm Exp $"); +__RCSID("$NetBSD: hack.apply.c,v 1.9 2007/12/15 19:44:41 perry Exp $"); #endif /* not lint */ #include "hack.h" @@ -137,7 +137,7 @@ xit: /* ARGSUSED */ static void use_camera(obj) /* */ - struct obj *obj __attribute__((__unused__)); + struct obj *obj __unused; { struct monst *mtmp; if (!getdir(1)) { /* ask: in what direction? */ @@ -303,7 +303,7 @@ bchit(ddx, ddy, range, sym) /* ARGSUSED */ static void use_whistle(obj) - struct obj *obj __attribute__((__unused__)); + struct obj *obj __unused; { struct monst *mtmp = fmon; pline("You produce a high whistling sound."); @@ -321,7 +321,7 @@ use_whistle(obj) /* ARGSUSED */ static void use_magic_whistle(obj) - struct obj *obj __attribute__((__unused__)); + struct obj *obj __unused; { struct monst *mtmp = fmon; pline("You produce a strange whistling sound."); -- cgit v1.2.3-56-ge451