diff options
author | mestre <mestre@cvs.openbsd.org> | 2016-01-09 18:33:16 +0000 |
---|---|---|
committer | mestre <mestre@cvs.openbsd.org> | 2016-01-09 18:33:16 +0000 |
commit | 7c55bfecc336945c2511a4a01b78e1ac8b93fff5 (patch) | |
tree | c66ac7b7ddf919eb044f333e0a5ac748a1146270 /games/hack/hack.mhitu.c | |
parent | 034294a50d0fb1c8a591760f593a6d20a2229c35 (diff) |
This diff is rather large, but it's just simply removing unnecessary headers
, remove some lint-style comments, add missing void to functions without args,
also some function prototypes (extern) were missing their args, so I added them
as they were defined in hack.h
OK tb@ on separate diffs
Diffstat (limited to 'games/hack/hack.mhitu.c')
-rw-r--r-- | games/hack/hack.mhitu.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games/hack/hack.mhitu.c b/games/hack/hack.mhitu.c index e4c4c744013..2913ac20465 100644 --- a/games/hack/hack.mhitu.c +++ b/games/hack/hack.mhitu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hack.mhitu.c,v 1.7 2009/10/27 23:59:25 deraadt Exp $ */ +/* $OpenBSD: hack.mhitu.c,v 1.8 2016/01/09 18:33:15 mestre Exp $ */ /* * Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica, @@ -61,8 +61,9 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "hack.h" -extern struct monst *makemon(); +#include "hack.h" + +extern struct monst *makemon(struct permonst *, int, int); /* * mhitu: monster hits you |