move a pair of functions from save.c to restore.c

A utility that links only with restore.o needs to find them.
This commit is contained in:
nhmall
2026-04-13 09:08:53 -04:00
parent efaabc3203
commit 8c8121eb3c
5 changed files with 20 additions and 19 deletions

View File

@@ -96,7 +96,7 @@ int util_strncmpi(const char *s1, const char *s2, size_t sz);
#ifdef UNIX
#define nethack_exit exit
ATTRNORETURN void nh_terminate(int) NORETURN; /* bwrite() calls this */
static void chdirx(const char *, boolean);
//static void chdirx(const char *, boolean);
#else
ATTRNORETURN extern void nethack_exit(int) NORETURN;
#ifdef WIN32