ref: 535175bc6c785e229bc7ce224d05883ec4614f80
parent: 19edf5d93e05809a992043cacd53e24343ce10a9
author: Turo Lamminen <turol@iki.fi>
date: Tue Oct 11 08:01:13 EDT 2022
heretic: Move snd_Channels extern declaration s_sound.h
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -656,7 +656,6 @@
void D_BindVariables(void)
{
extern int screenblocks;
- extern int snd_Channels;
int i;
M_ApplyPlatformDefaults();
--- 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);