shithub: rott

Download patch

ref: b5748fa153745b007ba1b7b9b2ecc07e74f53e26
parent: 215ca18ffbac8745cd6f25dc4640be7587334506
author: Marc-Alexandre Espiaut <marcalexandre@member.fsf.org>
date: Tue Jun 5 08:33:07 EDT 2018

Removing obsolete development code from rt_util.h

--- a/rott/rt_util.h
+++ b/rott/rt_util.h
@@ -142,34 +142,13 @@
 
 void _dos_getdate(struct dosdate_t *date);
 
-
-#if (SOFTERROR==1)
-
 void  SoftwareError (char *error, ...) __attribute__((format(printf,1,2)));
-#define SoftError  SoftwareError
 
-#else
-void  SoftwareError (char *error, ...) __attribute__((format(printf,1,2)));
-//#define SoftError  SoftwareError
-
 #define SoftError  if (1) {} else SoftwareError
 
-//#define SoftError
-
-#endif
-
-#if (DEBUG==1)
-
 void  DebugError (char *error, ...) __attribute__((format(printf,1,2)));
 #define Debug  DebugError
-
-#else
-
-void  DebugError (char *error, ...) __attribute__((format(printf,1,2)));
-#define Debug  DebugError
 //#define Debug
-
-#endif
 
 void Square (void);