diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-07 22:52:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-07 22:52:35 +0300 |
commit | 5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch) | |
tree | 5316f688c7f617776b7e70c9f64932fe7596cadb /src/net/tradehandler.h | |
parent | ed950471f7ae02c4618fa995c305832f12dc9cd7 (diff) | |
download | mv-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz mv-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2 mv-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz mv-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip |
Remove undescore from variables and defines.
Diffstat (limited to 'src/net/tradehandler.h')
-rw-r--r-- | src/net/tradehandler.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/tradehandler.h b/src/net/tradehandler.h index eab9d2aaf..837c53eeb 100644 --- a/src/net/tradehandler.h +++ b/src/net/tradehandler.h @@ -28,9 +28,9 @@ #include <iosfwd> #ifdef __GNUC__ -#define _UNUSED_ __attribute__ ((unused)) +#define A_UNUSED __attribute__ ((unused)) #else -#define _UNUSED_ +#define A_UNUSED #endif namespace Net @@ -38,20 +38,20 @@ namespace Net class TradeHandler { public: - virtual void request(Being *being _UNUSED_) + virtual void request(Being *being A_UNUSED) { } // virtual ~TradeHandler() {} - virtual void respond(bool accept _UNUSED_) + virtual void respond(bool accept A_UNUSED) { } - virtual void addItem(Item *item _UNUSED_, int amount _UNUSED_) + virtual void addItem(Item *item A_UNUSED, int amount A_UNUSED) { } - virtual void removeItem(int slotNum _UNUSED_, int amount _UNUSED_) + virtual void removeItem(int slotNum A_UNUSED, int amount A_UNUSED) { } - virtual void setMoney(int amount _UNUSED_) + virtual void setMoney(int amount A_UNUSED) { } virtual void confirm() |