From: uis <uis9936@gmail.com>
Date: Fri, 16 Aug 2024 02:11:53 +0000 (+0300)
Subject: tools: remove useless comments from cmdlib.h
X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ef1f3dc559c94a07b2e3085b97657c417c752dd2;p=xonotic%2Fnetradiant.git

tools: remove useless comments from cmdlib.h
---

diff --git a/tools/heretic2/common/cmdlib.h b/tools/heretic2/common/cmdlib.h
index b9c7de93..711e2b9e 100644
--- a/tools/heretic2/common/cmdlib.h
+++ b/tools/heretic2/common/cmdlib.h
@@ -63,13 +63,7 @@
 #define MAX_OS_PATH     1024
 #endif
 #define MEM_BLOCKSIZE 4096
-/*
-   extern	qboolean verbose;
-   #define SYS_VRB 0 // verbose support (on/off)
-   #define SYS_STD 1 // standard print level
-   #define SYS_WRN 2 // warnings
-   #define SYS_ERR 3 // error
- */
+
 // the dec offsetof macro doesnt work very well...
 #define myoffsetof( type,identifier ) ( (size_t)& ( (type *)0 )->identifier )
 
@@ -134,11 +128,7 @@ void    ExtractFileBase( const char *path, char *dest );
 void    ExtractFileExtension( const char *path, char *dest );
 
 int     ParseNum( const char *str );
-/*
-   void Sys_Printf (const char *text, ...);
-   void Sys_FPrintf (int flag, const char *text, ...);
-   void	Error( const char *error, ... );
- */
+
 short   BigShort( short l );
 short   LittleShort( short l );
 int     BigLong( int l );
diff --git a/tools/quake2/common/cmdlib.h b/tools/quake2/common/cmdlib.h
index 3dbf9682..1ab29512 100644
--- a/tools/quake2/common/cmdlib.h
+++ b/tools/quake2/common/cmdlib.h
@@ -59,14 +59,6 @@ typedef unsigned char byte;
 #endif
 #define MEM_BLOCKSIZE 4096
 
-/*
-   extern	qboolean verbose;
-   #define SYS_VRB 0 // verbose support (on/off)
-   #define SYS_STD 1 // standard print level
-   #define SYS_WRN 2 // warnings
-   #define SYS_ERR 3 // error
- */
-
 // the dec offsetof macro doesnt work very well...
 #define myoffsetof( type,identifier ) ( (size_t)& ( (type *)0 )->identifier )
 
@@ -131,10 +123,6 @@ void    ExtractFileExtension( const char *path, char *dest );
 
 int     ParseNum( const char *str );
 
-//void Sys_Printf (const char *text, ...);
-//void Sys_FPrintf (int flag, const char *text, ...);
-//void	Error( const char *error, ... );
-
 short   BigShort( short l );
 short   LittleShort( short l );
 int     BigLong( int l );