summaryrefslogtreecommitdiffstats
path: root/games/hack/hack.save.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.save.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.save.c')
-rw-r--r--games/hack/hack.save.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/hack/hack.save.c b/games/hack/hack.save.c
index 9f13c99..46d3ba1 100644
--- a/games/hack/hack.save.c
+++ b/games/hack/hack.save.c
@@ -32,7 +32,7 @@ hangup(){
/* returns 1 if save successful */
dosave0(hu) int hu; {
- fd, ofd;
+ int fd, ofd;
int tmp; /* not ! */
(void) signal(SIGHUP, SIG_IGN);
@@ -89,9 +89,9 @@ dosave0(hu) int hu; {
}
dorecover(fd)
-fd;
+int fd;
{
- nfd;
+ int nfd;
int tmp; /* not a ! */
unsigned mid; /* idem */
struct obj *otmp;
@@ -172,7 +172,7 @@ fd;
struct obj *
restobjchn(fd)
-fd;
+int fd;
{
struct obj *otmp, *otmp2;
struct obj *first = 0;
@@ -200,7 +200,7 @@ fd;
struct monst *
restmonchn(fd)
-fd;
+int fd;
{
struct monst *mtmp, *mtmp2;
struct monst *first = 0;
OpenPOWER on IntegriCloud