From 34a492ac70b3217937eafeb6db3cb9bfdc18fba9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Nov 2011 01:11:42 +0300 Subject: Move A_UNUSED define to include file. --- src/net/manaserv/adminhandler.h | 6 ------ src/net/manaserv/beinghandler.h | 6 ------ src/net/manaserv/buysellhandler.h | 6 ------ src/net/manaserv/chathandler.h | 6 ------ src/net/manaserv/gamehandler.h | 6 ------ src/net/manaserv/generalhandler.h | 6 ------ src/net/manaserv/guildhandler.h | 8 +------- src/net/manaserv/inventoryhandler.h | 6 ------ src/net/manaserv/loginhandler.h | 6 ------ src/net/manaserv/npchandler.h | 6 ------ src/net/manaserv/partyhandler.h | 7 +------ src/net/manaserv/playerhandler.h | 6 ------ src/net/manaserv/specialhandler.h | 6 ------ src/net/manaserv/tradehandler.h | 6 ------ 14 files changed, 2 insertions(+), 85 deletions(-) (limited to 'src/net/manaserv') diff --git a/src/net/manaserv/adminhandler.h b/src/net/manaserv/adminhandler.h index 17d296bd6..5a71db35e 100644 --- a/src/net/manaserv/adminhandler.h +++ b/src/net/manaserv/adminhandler.h @@ -26,12 +26,6 @@ #include "net/adminhandler.h" #include "string" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/beinghandler.h b/src/net/manaserv/beinghandler.h index 512d3e58f..59797f8f5 100644 --- a/src/net/manaserv/beinghandler.h +++ b/src/net/manaserv/beinghandler.h @@ -30,12 +30,6 @@ #include "vector.h" #include "map.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/buysellhandler.h b/src/net/manaserv/buysellhandler.h index b38fdd9e7..e1a9c91e5 100644 --- a/src/net/manaserv/buysellhandler.h +++ b/src/net/manaserv/buysellhandler.h @@ -27,12 +27,6 @@ #include "net/buysellhandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/chathandler.h b/src/net/manaserv/chathandler.h index 3ed7717ad..e93c2dd87 100644 --- a/src/net/manaserv/chathandler.h +++ b/src/net/manaserv/chathandler.h @@ -28,12 +28,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/gamehandler.h b/src/net/manaserv/gamehandler.h index a38052205..323b2566a 100644 --- a/src/net/manaserv/gamehandler.h +++ b/src/net/manaserv/gamehandler.h @@ -28,12 +28,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/generalhandler.h b/src/net/manaserv/generalhandler.h index ccdddbbe6..c6614707f 100644 --- a/src/net/manaserv/generalhandler.h +++ b/src/net/manaserv/generalhandler.h @@ -30,12 +30,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/guildhandler.h b/src/net/manaserv/guildhandler.h index 023e60b08..6a8db27c8 100644 --- a/src/net/manaserv/guildhandler.h +++ b/src/net/manaserv/guildhandler.h @@ -27,12 +27,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { @@ -62,7 +56,7 @@ public: void memberList(int guildId); - void info(int guildId A_UNUSED); + void info(int guildId); void changeMemberPostion(GuildMember *member, int level); diff --git a/src/net/manaserv/inventoryhandler.h b/src/net/manaserv/inventoryhandler.h index fbe53d735..ba4535d79 100644 --- a/src/net/manaserv/inventoryhandler.h +++ b/src/net/manaserv/inventoryhandler.h @@ -29,12 +29,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/loginhandler.h b/src/net/manaserv/loginhandler.h index e60f00d92..0e8f2a4e6 100644 --- a/src/net/manaserv/loginhandler.h +++ b/src/net/manaserv/loginhandler.h @@ -28,12 +28,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - class LoginData; namespace ManaServ diff --git a/src/net/manaserv/npchandler.h b/src/net/manaserv/npchandler.h index f48e92ecb..f91858614 100644 --- a/src/net/manaserv/npchandler.h +++ b/src/net/manaserv/npchandler.h @@ -29,12 +29,6 @@ #include -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - class NpcDialog; namespace ManaServ diff --git a/src/net/manaserv/partyhandler.h b/src/net/manaserv/partyhandler.h index 89924c962..087936d72 100644 --- a/src/net/manaserv/partyhandler.h +++ b/src/net/manaserv/partyhandler.h @@ -27,16 +27,11 @@ #include "net/manaserv/messagehandler.h" +#include "localconsts.h" #include "party.h" #include -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/playerhandler.h b/src/net/manaserv/playerhandler.h index f00fea42a..21bbac516 100644 --- a/src/net/manaserv/playerhandler.h +++ b/src/net/manaserv/playerhandler.h @@ -29,12 +29,6 @@ #include -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/specialhandler.h b/src/net/manaserv/specialhandler.h index e7931f8ea..ccbe59fd9 100644 --- a/src/net/manaserv/specialhandler.h +++ b/src/net/manaserv/specialhandler.h @@ -27,12 +27,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { diff --git a/src/net/manaserv/tradehandler.h b/src/net/manaserv/tradehandler.h index 35c260a8e..b5fcb3d3f 100644 --- a/src/net/manaserv/tradehandler.h +++ b/src/net/manaserv/tradehandler.h @@ -27,12 +27,6 @@ #include "net/manaserv/messagehandler.h" -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - namespace ManaServ { -- cgit v1.2.3-70-g09d2