]> git.0x19.co - doomgeneric-snom360/commitdiff
Move extern declarations to header
authorTuro Lamminen <turol@iki.fi>
Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)
committerTuro Lamminen <turol@iki.fi>
Tue, 23 Apr 2024 17:23:03 +0000 (20:23 +0300)
doomgeneric/i_sound.c
doomgeneric/i_sound.h

index 4c007ef7f31ee0faa60054942c8bcb167e8047f4..bc891e3dc76ce0242e2d478fa489e586a60cab9b 100644 (file)
@@ -60,24 +60,6 @@ static music_module_t *music_module = NULL;
 int snd_musicdevice = SNDDEVICE_SB;
 int snd_sfxdevice = SNDDEVICE_SB;
 
-// Sound modules
-
-void I_InitTimidityConfig(void);
-#ifdef FEATURE_SOUND
-extern sound_module_t DG_sound_module;
-extern music_module_t DG_music_module;
-#endif
-extern sound_module_t sound_pcsound_module;
-extern music_module_t music_opl_module;
-
-// For OPL module:
-
-extern int opl_io_port;
-
-// For native music module:
-
-extern char *timidity_cfg_path;
-
 // DOS-specific options: These are unused but should be maintained
 // so that the config file can be shared between chocolate
 // doom and doom.exe
index e429e960f491258b010008218901d3cbdcc7fa00..e31b5e58e5bf64f7728e78708dfbae7b7ec4c281 100644 (file)
@@ -234,5 +234,23 @@ extern char *snd_musiccmd;
 
 void I_BindSoundVariables(void);
 
+// Sound modules
+
+void I_InitTimidityConfig(void);
+#ifdef FEATURE_SOUND
+extern sound_module_t DG_sound_module;
+extern music_module_t DG_music_module;
+#endif
+extern sound_module_t sound_pcsound_module;
+extern music_module_t music_opl_module;
+
+// For OPL module:
+
+extern int opl_io_port;
+
+// For native music module:
+
+extern char *timidity_cfg_path;
+
 #endif