From b462731cbc1198051cd39ad2f95b1027e441067d Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 7 Jun 2009 18:30:39 +0000 Subject: ANSIfy function declarations. All object file diffs inspected. --- hack/hack.wield.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'hack/hack.wield.c') diff --git a/hack/hack.wield.c b/hack/hack.wield.c index 37ebcb03..7dd1e161 100644 --- a/hack/hack.wield.c +++ b/hack/hack.wield.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.wield.c,v 1.6 2003/04/02 18:36:41 jsm Exp $ */ +/* $NetBSD: hack.wield.c,v 1.7 2009/06/07 18:30:39 dholland Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -63,21 +63,20 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.wield.c,v 1.6 2003/04/02 18:36:41 jsm Exp $"); +__RCSID("$NetBSD: hack.wield.c,v 1.7 2009/06/07 18:30:39 dholland Exp $"); #endif /* not lint */ #include "hack.h" #include "extern.h" void -setuwep(obj) - struct obj *obj; +setuwep(struct obj *obj) { setworn(obj, W_WEP); } int -dowield() +dowield(void) { struct obj *wep; int res = 0; @@ -116,7 +115,7 @@ dowield() } void -corrode_weapon() +corrode_weapon(void) { if (!uwep || uwep->olet != WEAPON_SYM) return; /* %% */ @@ -129,9 +128,7 @@ corrode_weapon() } int -chwepon(otmp, amount) - struct obj *otmp; - int amount; +chwepon(struct obj *otmp, int amount) { const char *color = (amount < 0) ? "black" : "green"; const char *time; -- cgit v1.2.3-56-ge451