shithub: choc

Download patch

ref: 881c5452c8286943d9ed75f2ca0c929ba437b4c7
parent: 46d46e543c543662200e7a37a2fabfb5f4e4bc65
author: Turo Lamminen <turol@iki.fi>
date: Tue Sep 13 16:20:41 EDT 2022

hexen: Move S_sfx extern declaration to sounds.h

--- a/src/hexen/s_sound.c
+++ b/src/hexen/s_sound.c
@@ -65,7 +65,6 @@
 //void *mus_sndptr;
 //byte *soundCurve;
 
-extern sfxinfo_t S_sfx[];
 extern musicinfo_t S_music[];
 
 static channel_t Channel[MAX_CHANNELS];
--- a/src/hexen/sn_sonix.c
+++ b/src/hexen/sn_sonix.c
@@ -68,7 +68,6 @@
 
 // EXTERNAL DATA DECLARATIONS ----------------------------------------------
 
-extern sfxinfo_t S_sfx[];
 
 // PUBLIC DATA DEFINITIONS -------------------------------------------------
 
--- a/src/hexen/sounds.h
+++ b/src/hexen/sounds.h
@@ -313,4 +313,8 @@
     NUMSFX
 } sfxenum_t;
 
+
+extern sfxinfo_t S_sfx[];
+
+
 #endif