commit 535175bc6c785e229bc7ce224d05883ec4614f80
Author: Turo Lamminen <turol@iki.fi>
AuthorDate: Tue Oct 11 12:01:13 2022 +0300
Commit: Turo Lamminen <turol@iki.fi>
CommitDate: Tue Oct 11 12:01:13 2022 +0300
heretic: Move snd_Channels extern declaration s_sound.h
---
src/heretic/d_main.c | 1 -
src/heretic/s_sound.h | 2 ++
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c
index dd91f3ab..c690ca7b 100644
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -656,7 +656,6 @@ void InitThermo(int max)
void D_BindVariables(void)
{
extern int screenblocks;
- extern int snd_Channels;
int i;
M_ApplyPlatformDefaults();
diff --git a/src/heretic/s_sound.h b/src/heretic/s_sound.h
index 231d904d..796be73e 100644
--- a/src/heretic/s_sound.h
+++ b/src/heretic/s_sound.h
@@ -21,6 +21,8 @@
extern int snd_MaxVolume;
extern int snd_MusicVolume;
+extern int snd_Channels;
+
void S_Start(void);
void S_StartSound(void *origin, int sound_id);