From 520fff788fc8f2154247a6cff986abf634fdbb51 Mon Sep 17 00:00:00 2001 From: marcel 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.o_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/hack/hack.o_init.c') diff --git a/games/hack/hack.o_init.c b/games/hack/hack.o_init.c index 6cac5dd..0bb9418 100644 --- a/games/hack/hack.o_init.c +++ b/games/hack/hack.o_init.c @@ -99,7 +99,7 @@ oinit() /* level dependent initialization */ extern long *alloc(); -savenames(fd) fd; { +savenames(fd) int fd; { int i; unsigned len; bwrite(fd, (char *) bases, sizeof bases); @@ -116,7 +116,7 @@ unsigned len; } } -restnames(fd) fd; { +restnames(fd) int fd; { int i; unsigned len; mread(fd, (char *) bases, sizeof bases); -- cgit v1.1