From b945938c632aa17a5c1e475758d18fc9febf3cbd Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Tue, 16 Nov 1999 10:26:38 +0000 Subject: Add type int to those variables without a type. This is caused by the frequent use of ``register var'' instead of ``register int var'' and the removal of the register hint in the previous commit. --- games/hack/hack.mkobj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'games/hack/hack.mkobj.c') diff --git a/games/hack/hack.mkobj.c b/games/hack/hack.mkobj.c index 61b4235c9d14..a9098a6b235e 100644 --- a/games/hack/hack.mkobj.c +++ b/games/hack/hack.mkobj.c @@ -9,7 +9,7 @@ struct obj *mkobj(), *mksobj(); struct obj * mkobj_at(let,x,y) -let,x,y; +int let,x,y; { struct obj *otmp = mkobj(let); otmp->ox = x; @@ -20,7 +20,7 @@ let,x,y; } mksobj_at(otyp,x,y) -otyp,x,y; +int otyp,x,y; { struct obj *otmp = mksobj(otyp); otmp->ox = x; @@ -47,7 +47,7 @@ struct obj zeroobj; struct obj * mksobj(otyp) -otyp; +int otyp; { struct obj *otmp; char let = objects[otyp].oc_olet; -- cgit v1.3