]> granicus.if.org Git - nethack/commitdiff
mac typo and some warnings
authornhmall <nhmall@nethack.org>
Fri, 3 Feb 2023 20:12:42 +0000 (15:12 -0500)
committernhmall <nhmall@nethack.org>
Fri, 3 Feb 2023 20:12:42 +0000 (15:12 -0500)
sound/macsound/macsound.m

index 210ed6b53279681068c9064256944af3c3f3fe8c..4a19ba71b5bbe7f9119f662312d61a9ea74b54d1 100644 (file)
@@ -26,7 +26,7 @@ static void macsound_achievement(schar, schar, int32_t);
 static void macsound_soundeffect(char *, int32_t, int32_t);
 static void macsound_hero_playnotes(int32_t, const char *, int32_t);
 static void macsound_play_usersound(char *, int32_t, int32_t);
-static void macsounde_ambience(int32_t, int32_t, int32_t);
+static void macsound_ambience(int32_t, int32_t, int32_t);
 
 static int affiliate(int32_t seid, const char *soundname);
 
@@ -71,8 +71,8 @@ macsound_achievement(schar ach1 UNUSED, schar ach2 UNUSED, int32_t repeat UNUSED
 }
 
 static void
-macsound_ambience(int32_t ambienceid, int32_t ambience_action,
-                int32_t hero_proximity)
+macsound_ambience(int32_t ambienceid UNUSED, int32_t ambience_action UNUSED,
+                int32_t hero_proximity UNUSED)
 {
 }