From 5e14ab971129eb95ca02e373fc21adb46c0eaca1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 7 Jul 2011 22:52:35 +0300 Subject: Remove undescore from variables and defines. --- src/commandhandler.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/commandhandler.h') diff --git a/src/commandhandler.h b/src/commandhandler.h index f58e86b21..64f0288c3 100644 --- a/src/commandhandler.h +++ b/src/commandhandler.h @@ -32,9 +32,9 @@ class ChatTab; extern ChatTab *localChatTab; #ifdef __GNUC__ -#define _UNUSED_ __attribute__ ((unused)) +#define A_UNUSED __attribute__ ((unused)) #else -#define _UNUSED_ +#define A_UNUSED #endif #define BOOLEAN_OPTIONS _("Options to /%s are \"yes\", \"no\", \"true\", "\ @@ -248,23 +248,23 @@ class CommandHandler */ void handleNavigate(const std::string &args, ChatTab *tab); - void handleMail(const std::string &args, ChatTab *tab _UNUSED_); + void handleMail(const std::string &args, ChatTab *tab A_UNUSED); void handleHack(const std::string &args, ChatTab *tab); - void handlePriceLoad(const std::string &args _UNUSED_, - ChatTab *tab _UNUSED_); + void handlePriceLoad(const std::string &args A_UNUSED, + ChatTab *tab A_UNUSED); - void handlePriceSave(const std::string &args _UNUSED_, - ChatTab *tab _UNUSED_); + void handlePriceSave(const std::string &args A_UNUSED, + ChatTab *tab A_UNUSED); - void handleTrade(const std::string &args, ChatTab *tab _UNUSED_); + void handleTrade(const std::string &args, ChatTab *tab A_UNUSED); - void handleDisconnect(const std::string &args, ChatTab *tab _UNUSED_); + void handleDisconnect(const std::string &args, ChatTab *tab A_UNUSED); - void handleUndress(const std::string &args, ChatTab *tab _UNUSED_); + void handleUndress(const std::string &args, ChatTab *tab A_UNUSED); - void handleAttack(const std::string &args, ChatTab *tab _UNUSED_); + void handleAttack(const std::string &args, ChatTab *tab A_UNUSED); void handleDirs(const std::string &args, ChatTab *tab); @@ -274,20 +274,20 @@ class CommandHandler void handleUptime(const std::string &args, ChatTab *tab); - void handleAddAttack(const std::string &args, ChatTab *tab _UNUSED_); + void handleAddAttack(const std::string &args, ChatTab *tab A_UNUSED); void handleAddPriorityAttack(const std::string &args, - ChatTab *tab _UNUSED_); + ChatTab *tab A_UNUSED); void handleRemoveAttack(const std::string &args, - ChatTab *tab _UNUSED_); + ChatTab *tab A_UNUSED); void handleAddIgnoreAttack(const std::string &args, - ChatTab *tab _UNUSED_); + ChatTab *tab A_UNUSED); void handleDump(const std::string &args, ChatTab *tab); - void handleCacheInfo(const std::string &args, ChatTab *tab _UNUSED_); + void handleCacheInfo(const std::string &args, ChatTab *tab A_UNUSED); bool parse2Int(const std::string &args, int *x, int *y); }; -- cgit v1.2.3-70-g09d2