fix warning in restore.c

restore.c:909:1: warning: no previous prototype for ‘rest_stairs’ [-Wmissing-prototypes]
  909 | rest_stairs(nhfp)
      | ^~~~~~~~~~~
This commit is contained in:
nhmall
2021-01-23 09:15:15 -05:00
parent 0a85a9c731
commit 4487c1014f

View File

@@ -37,6 +37,7 @@ static int FDECL(restlevelfile, (XCHAR_P));
static void FDECL(restore_msghistory, (NHFILE *));
static void FDECL(reset_oattached_mids, (BOOLEAN_P));
static void FDECL(rest_levl, (NHFILE *, BOOLEAN_P));
static void FDECL(rest_stairs, (NHFILE *));
/*
* Save a mapping of IDs from ghost levels to the current level. This
@@ -905,7 +906,7 @@ NHFILE *nhfp;
return 1;
}
void
static void
rest_stairs(nhfp)
NHFILE *nhfp;
{