diff options
author | jsm <jsm@NetBSD.org> | 2004-01-27 20:30:28 +0000 |
---|---|---|
committer | jsm <jsm@NetBSD.org> | 2004-01-27 20:30:28 +0000 |
commit | a43fb158d0c5c90291b792d683aa0221403f1893 (patch) | |
tree | abc8b57813f81300bc2b7a4ad80223e666d05d7d /hack/hack.invent.c | |
parent | 5572d7c395d19f949cb8a29c96791307e744681c (diff) | |
download | bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.gz bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.tar.zst bsdgames-darwin-a43fb158d0c5c90291b792d683aa0221403f1893.zip |
Remove uses of __P.
Diffstat (limited to 'hack/hack.invent.c')
-rw-r--r-- | hack/hack.invent.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/hack/hack.invent.c b/hack/hack.invent.c index d4a7d2e6..c33d502b 100644 --- a/hack/hack.invent.c +++ b/hack/hack.invent.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.invent.c,v 1.8 2003/04/02 18:36:37 jsm Exp $ */ +/* $NetBSD: hack.invent.c,v 1.9 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.invent.c,v 1.8 2003/04/02 18:36:37 jsm Exp $"); +__RCSID("$NetBSD: hack.invent.c,v 1.9 2004/01/27 20:30:29 jsm Exp $"); #endif /* not lint */ #include <stdlib.h> @@ -78,8 +78,8 @@ __RCSID("$NetBSD: hack.invent.c,v 1.8 2003/04/02 18:36:37 jsm Exp $"); static int lastinvnr = 51; /* 0 ... 51 */ -static void assigninvlet __P((struct obj *)); -static char *xprname __P((struct obj *, char)); +static void assigninvlet(struct obj *); +static char *xprname(struct obj *, char); static void assigninvlet(otmp) @@ -566,7 +566,7 @@ ckunpaid(otmp) int ggetobj(word, fn, max) const char *word; - int (*fn) __P((struct obj *)); + int (*fn)(struct obj *); int max; { char buf[BUFSZ]; @@ -575,8 +575,8 @@ ggetobj(word, fn, max) int oletct = 0, iletct = 0; boolean allflag = FALSE; char olets[20], ilets[20]; - int (*ckfn) __P((struct obj *)) = - (int (*) __P((struct obj *))) 0; + int (*ckfn)(struct obj *) = + (int (*)(struct obj *)) 0; xchar allowgold = (u.ugold && !strcmp(word, "drop")) ? 1 : 0; /* BAH */ if (!invent && !allowgold) { pline("You have nothing to %s.", word); @@ -652,8 +652,8 @@ askchain(objchn, olets, allflag, fn, ckfn, max) struct obj *objchn; char *olets; int allflag; - int (*fn) __P((struct obj *)); - int (*ckfn) __P((struct obj *)); + int (*fn)(struct obj *); + int (*ckfn)(struct obj *); int max; { struct obj *otmp, *otmp2; |