From 4487c1014f3251c7d2bb92629ea5a35af51590f7 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sat, 23 Jan 2021 09:15:15 -0500 Subject: [PATCH] fix warning in restore.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit restore.c:909:1: warning: no previous prototype for ‘rest_stairs’ [-Wmissing-prototypes] 909 | rest_stairs(nhfp) | ^~~~~~~~~~~ --- src/restore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/restore.c b/src/restore.c index 0b771ad28..ec4eaa7f5 100644 --- a/src/restore.c +++ b/src/restore.c @@ -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; {