summaryrefslogtreecommitdiff
path: root/src/net/tradehandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-07 22:52:35 +0300
commit5e14ab971129eb95ca02e373fc21adb46c0eaca1 (patch)
tree5316f688c7f617776b7e70c9f64932fe7596cadb /src/net/tradehandler.h
parented950471f7ae02c4618fa995c305832f12dc9cd7 (diff)
downloadplus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.gz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.bz2
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.tar.xz
plus-5e14ab971129eb95ca02e373fc21adb46c0eaca1.zip
Remove undescore from variables and defines.
Diffstat (limited to 'src/net/tradehandler.h')
-rw-r--r--src/net/tradehandler.h14
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()