summaryrefslogtreecommitdiffstats
path: root/hack/hack.apply.c
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 /hack/hack.apply.c
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 'hack/hack.apply.c')
-rw-r--r--hack/hack.apply.c10
1 files changed, 5 insertions, 5 deletions
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 <sys/cdefs.h>
#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.");