foxygit / doom Log in
commit 0403e94fde9ec34e4aef1baca891b1b9d8c99564
Author:     Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Sep 13 20:21:48 2022 +0300
Commit:     Turo Lamminen <turol@iki.fi>
CommitDate: Mon Oct 3 12:52:15 2022 +0300

    hexen: Move S_music extern declaration to sounds.h
---
 src/hexen/s_sound.c | 1 -
 src/hexen/sounds.h  | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hexen/s_sound.c b/src/hexen/s_sound.c
index e731552f..eadba478 100644
--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -65,7 +65,6 @@ static int cd_track_end_time = 0;
 //void *mus_sndptr;
 //byte *soundCurve;

-extern musicinfo_t S_music[];

 static channel_t Channel[MAX_CHANNELS];
 static void *RegisteredSong;      //the current registered song.
diff --git a/src/hexen/sounds.h b/src/hexen/sounds.h
index c7102c76..1fe2345f 100644
--- a/src/hexen/sounds.h
+++ b/src/hexen/sounds.h
@@ -315,6 +315,7 @@ typedef enum


 extern sfxinfo_t S_sfx[];
+extern musicinfo_t S_music[];


 #endif