From ef1f3dc559c94a07b2e3085b97657c417c752dd2 Mon Sep 17 00:00:00 2001 From: uis Date: Fri, 16 Aug 2024 05:11:53 +0300 Subject: [PATCH] tools: remove useless comments from cmdlib.h --- tools/heretic2/common/cmdlib.h | 14 ++------------ tools/quake2/common/cmdlib.h | 12 ------------ 2 files changed, 2 insertions(+), 24 deletions(-) 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 ); -- 2.39.2