shithub: choc

Download patch

ref: fb5f6f1cff5cb7e1b90842181dbe04d3bbb696cc
parent: 97c82c0a5828f69a1b20e496e2ca71b25ec4b210
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 08:33:11 EDT 2022

sound: Move I_OPL_DevMessages prototype to i_sound.h

--- a/src/doom/m_menu.c
+++ b/src/doom/m_menu.c
@@ -1899,7 +1899,6 @@
 
 static void M_DrawOPLDev(void)
 {
-    extern void I_OPL_DevMessages(char *, size_t);
     char debug[1024];
     char *curr, *p;
     int line;
--- a/src/i_sound.h
+++ b/src/i_sound.h
@@ -248,6 +248,8 @@
 } opl_driver_ver_t;
 
 void I_SetOPLDriverVer(opl_driver_ver_t ver);
+void I_OPL_DevMessages(char *, size_t);
+
 
 #ifdef _WIN32
 extern char *winmm_midi_device;