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:
+2
-1
@@ -37,6 +37,7 @@ static int FDECL(restlevelfile, (XCHAR_P));
|
|||||||
static void FDECL(restore_msghistory, (NHFILE *));
|
static void FDECL(restore_msghistory, (NHFILE *));
|
||||||
static void FDECL(reset_oattached_mids, (BOOLEAN_P));
|
static void FDECL(reset_oattached_mids, (BOOLEAN_P));
|
||||||
static void FDECL(rest_levl, (NHFILE *, 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
|
* Save a mapping of IDs from ghost levels to the current level. This
|
||||||
@@ -905,7 +906,7 @@ NHFILE *nhfp;
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
rest_stairs(nhfp)
|
rest_stairs(nhfp)
|
||||||
NHFILE *nhfp;
|
NHFILE *nhfp;
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user