summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.mkobj.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-11-16 10:26:38 +0000
committermarcel <marcel@FreeBSD.org>1999-11-16 10:26:38 +0000
commit520fff788fc8f2154247a6cff986abf634fdbb51 (patch)
tree839b85661e38597650d090e9cb482291451611bb /games/hack/hack.mkobj.c
parent44fac3a89d25ca434f91c4f961a363ea590faae8 (diff)
downloadFreeBSD-src-520fff788fc8f2154247a6cff986abf634fdbb51.zip
FreeBSD-src-520fff788fc8f2154247a6cff986abf634fdbb51.tar.gz
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.
Diffstat (limited to 'games/hack/hack.mkobj.c')
-rw-r--r--games/hack/hack.mkobj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/hack/hack.mkobj.c b/games/hack/hack.mkobj.c
index 61b4235..a9098a6 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;
OpenPOWER on IntegriCloud