diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-16 11:48:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-16 11:48:41 +0000 |
commit | ce6e5ab03d58151c4eda36d05a8436d337b2d3c0 (patch) | |
tree | 4743bda7441f8093cb0a31d4141e77cb5cfbc174 /include/m_protocols.h | |
parent | f627d0bf7a1978a9b8360ada9c199ba9667977b1 (diff) |
removed clutch for GCC (it already exists in m_system.h)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1575 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r-- | include/m_protocols.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/m_protocols.h b/include/m_protocols.h index b659e078a3..67dd8b16ca 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -293,7 +293,7 @@ typedef struct tagACCOUNT //lParam = (LPARAM)(PROTOACCOUNT**)paAccounts
#define MS_PROTO_ENUMACCOUNTS "Proto/EnumAccounts"
-__inline static INT_PTR ProtoEnumAccounts(int* accNumber, PROTOACCOUNT*** accArray)
+__forceinline INT_PTR ProtoEnumAccounts(int* accNumber, PROTOACCOUNT*** accArray)
{ return CallService(MS_PROTO_ENUMACCOUNTS, (WPARAM)accNumber, (LPARAM)accArray);
}
@@ -303,7 +303,7 @@ __inline static INT_PTR ProtoEnumAccounts(int* accNumber, PROTOACCOUNT*** accArr //return value = PROTOACCOUNT* or NULL
#define MS_PROTO_GETACCOUNT "Proto/GetAccount"
-__inline static PROTOACCOUNT* ProtoGetAccount(const char* accName)
+__forceinline PROTOACCOUNT* ProtoGetAccount(const char* accName)
{ return (PROTOACCOUNT*)CallService(MS_PROTO_GETACCOUNT, 0, (LPARAM)accName);
}
@@ -331,7 +331,7 @@ __inline static PROTOACCOUNT* ProtoGetAccount(const char* accName) //Returns 1 if an account is valid and enabled, 0 otherwise
#define MS_PROTO_ISACCOUNTENABLED "Proto/IsAccountEnabled"
-__inline static int IsAccountEnabled(const PROTOACCOUNT* pa)
+__forceinline int IsAccountEnabled(const PROTOACCOUNT* pa)
{
return (int)CallService(MS_PROTO_ISACCOUNTENABLED, 0, (LPARAM)pa);
}
|