]> granicus.if.org Git - nethack/commitdiff
prototype was within #ifdef block, function wasn't
authornhmall <nhmall@nethack.org>
Wed, 1 Feb 2023 04:05:15 +0000 (23:05 -0500)
committernhmall <nhmall@nethack.org>
Wed, 1 Feb 2023 04:05:15 +0000 (23:05 -0500)
Move the prototype in extern.h

include/extern.h

index e91424b5da67995fd019b9c17ea6d99a07b07aee..910f546b921219b8b83cffc7161c88fb8b14df19 100644 (file)
@@ -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 ### */