diff options
author | George Hazan <ghazan@miranda.im> | 2017-02-07 12:19:25 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-02-07 12:19:25 +0300 |
commit | 1213ce7d1386f5677342951df1a80d589ce2779b (patch) | |
tree | 76ecc7f76b77453b9d3c1800f955e8f7c8da38ac /plugins/StatusManager/src/StartupStatus/startupstatus.h | |
parent | f18d37c4c90bc39f295fea9fedbfae0e806d9f61 (diff) |
warning fixes
Diffstat (limited to 'plugins/StatusManager/src/StartupStatus/startupstatus.h')
-rw-r--r-- | plugins/StatusManager/src/StartupStatus/startupstatus.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/StatusManager/src/StartupStatus/startupstatus.h b/plugins/StatusManager/src/StartupStatus/startupstatus.h index e1ad779103..5d04c24cf5 100644 --- a/plugins/StatusManager/src/StartupStatus/startupstatus.h +++ b/plugins/StatusManager/src/StartupStatus/startupstatus.h @@ -30,10 +30,7 @@ struct TSSSetting : public PROTOCOLSETTINGEX, public MZeroedObject ~TSSSetting(); }; -static int SSCompareSettings(const TSSSetting *p1, const TSSSetting *p2) -{ - return mir_strcmp(p1->szName, p2->szName); -} +int SSCompareSettings(const TSSSetting *p1, const TSSSetting *p2); typedef OBJLIST<TSSSetting> TSettingsList; @@ -148,11 +145,6 @@ TSettingsList* GetCurrentProtoSettings(); int GetProfile(int profileID, TSettingsList& arSettings ); wchar_t *GetStatusMessage(int profile, char *szProto); -static INT_PTR SrvGetProfile(WPARAM wParam, LPARAM lParam) -{ - return GetProfile((int)wParam, *(TSettingsList*)lParam); -} - INT_PTR LoadAndSetProfile(WPARAM wParam, LPARAM lParam); INT_PTR GetProfileCount(WPARAM wParam, LPARAM lParam); INT_PTR GetProfileName(WPARAM wParam, LPARAM lParam); |