Move extern declarations to header

This commit is contained in:
Turo Lamminen
2024-04-23 20:23:03 +03:00
parent 79944e85f7
commit 6d96d087e5
2 changed files with 18 additions and 18 deletions
-18
View File
@@ -60,24 +60,6 @@ static music_module_t *music_module = NULL;
int snd_musicdevice = SNDDEVICE_SB; int snd_musicdevice = SNDDEVICE_SB;
int snd_sfxdevice = 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 // DOS-specific options: These are unused but should be maintained
// so that the config file can be shared between chocolate // so that the config file can be shared between chocolate
// doom and doom.exe // doom and doom.exe
+18
View File
@@ -234,5 +234,23 @@ extern char *snd_musiccmd;
void I_BindSoundVariables(void); 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 #endif