shithub: rott

Download patch

ref: dd4980ea7342c1d832fb7812f493306c3a08812a
parent: 11a1e7c30819d163e079c203f4bb22773d9a6acc
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 09:52:55 EDT 2018

Removing obsolete WATCOM code from rottnet.h

--- a/rott/rottnet.h
+++ b/rott/rottnet.h
@@ -41,10 +41,6 @@
 #define  MAXPACKETSIZE 2048
 #define	MAXCOMBUFFERSIZE 2048
 
-#if __WATCOMC__
-#pragma pack (1)
-#endif
-
 typedef struct
 {
     short	intnum;			// ROTT executes an int to send commands
@@ -66,30 +62,11 @@
     char	data[MAXPACKETSIZE];
 } rottcom_t;
 
-#if __WATCOMC__
-#pragma pack (4)
-#endif
-
 #define  MODEM_GAME   0
 #define	NETWORK_GAME 1
 
 #define	ROTTLAUNCHER ("ROTT.EXE")
 
-#if defined(DOS) && (__WATCOMC__ == 0)
-
-extern   rottcom_t   rottcom;
-extern   boolean     pause;
-
-void ShutdownROTTCOM ( void );
-int  CheckParm (char *check);
-void LaunchROTT (void);
-void NetISR (void);
-long GetVector (void);
-
-#else
-
 extern   rottcom_t   * rottcom;
-
-#endif
 
 #endif