From: nhmall Date: Wed, 1 Feb 2023 04:05:15 +0000 (-0500) Subject: prototype was within #ifdef block, function wasn't X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56d4822f4ecf96f476880074d3b3479e5a7abbe9;p=nethack prototype was within #ifdef block, function wasn't Move the prototype in extern.h --- diff --git a/include/extern.h b/include/extern.h index e91424b5d..910f546b9 100644 --- a/include/extern.h +++ b/include/extern.h @@ -2615,9 +2615,8 @@ extern void get_soundlib_name(char *dest, int maxlen); #ifdef SND_SOUNDEFFECTS_AUTOMAP extern char *get_sound_effect_filename(int32_t seidint, char *buf, size_t bufsz, int32_t); -extern char *base_soundname_to_filename(char *basename, char *buf, - size_t bufsz, int32_t baseflag); #endif +extern char *base_soundname_to_filename(char *, char *, size_t, int32_t); /* ### sp_lev.c ### */