summaryrefslogtreecommitdiffstats
path: root/hack/hack.do.c
diff options
context:
space:
mode:
authorjsm <jsm@NetBSD.org>2004-01-27 20:30:28 +0000
committerjsm <jsm@NetBSD.org>2004-01-27 20:30:28 +0000
commita43fb158d0c5c90291b792d683aa0221403f1893 (patch)
treeabc8b57813f81300bc2b7a4ad80223e666d05d7d /hack/hack.do.c
parent5572d7c395d19f949cb8a29c96791307e744681c (diff)
downloadbsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.gz
bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.zst
bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.zip
Remove uses of __P.
Diffstat (limited to 'hack/hack.do.c')
-rw-r--r--hack/hack.do.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hack/hack.do.c b/hack/hack.do.c
index c02be1d3..b606edad 100644
--- a/hack/hack.do.c
+++ b/hack/hack.do.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.do.c,v 1.6 2003/04/02 18:36:35 jsm Exp $ */
+/* $NetBSD: hack.do.c,v 1.7 2004/01/27 20:30:29 jsm Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.do.c,v 1.6 2003/04/02 18:36:35 jsm Exp $");
+__RCSID("$NetBSD: hack.do.c,v 1.7 2004/01/27 20:30:29 jsm Exp $");
#endif /* not lint */
/* Contains code for 'd', 'D' (drop), '>', '<' (up, down) and 't' (throw) */
@@ -75,7 +75,7 @@ __RCSID("$NetBSD: hack.do.c,v 1.6 2003/04/02 18:36:35 jsm Exp $");
#include <stdlib.h>
-static int drop __P((struct obj *));
+static int drop(struct obj *);
int
dodrop()
@@ -406,8 +406,8 @@ dothrow()
mon = bhit(u.dx, u.dy, (obj->otyp == ICE_BOX) ? 1 :
(!Punished || obj != uball) ? 8 : !u.ustuck ? 5 : 1,
obj->olet,
- (void (*) __P((struct monst *, struct obj *))) 0,
- (int (*) __P((struct obj *, struct obj *))) 0, obj);
+ (void (*)(struct monst *, struct obj *)) 0,
+ (int (*)(struct obj *, struct obj *)) 0, obj);
}
if (mon) {
/* awake monster if sleeping */