shithub: rott

Download patch

ref: 2e4ceb5111856fdb7cdabbfbe2d16b15b14ee525
parent: 18fc50202cfc0ef24b00ee96f05d47bf3bfb37b7
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 09:45:54 EDT 2018

Removing obsolete WATCOM code from fx_man.c

--- a/rott/fx_man.c
+++ b/rott/fx_man.c
@@ -12,13 +12,7 @@
 #include <string.h>
 #include <assert.h>
 
-#if (defined __WATCOMC__)
-#include "dukesnd_watcom.h"
-#endif
-
-#if (!defined __WATCOMC__)
 #define cdecl
-#endif
 
 #include "SDL2/SDL.h"
 #include "SDL_mixer.h"
@@ -118,10 +112,6 @@
     }
 }
 /* end ASS copy-pastage */
-
-#ifdef __WATCOMC__
-#pragma aux (__cdecl) channelDoneCallback;
-#endif
 
 // This function is called whenever an SDL_mixer channel completes playback.
 //  We use this for state management and calling the application's callback.