summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_skinselector.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-03-24 21:07:55 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-03-24 21:07:55 +0000
commit2ad9dacc6b572b8a2d7d925668cae10abec5ef95 (patch)
tree25d1eb125a1ca128a5b8d516ff5897457e2eca96 /plugins/Clist_modern/src/modern_skinselector.cpp
parent49df455909f265452893494c7ffedf2298d6206d (diff)
CList_modern: cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@16537 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_skinselector.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_skinselector.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Clist_modern/src/modern_skinselector.cpp b/plugins/Clist_modern/src/modern_skinselector.cpp
index 89e7f970a2..26fd11ec91 100644
--- a/plugins/Clist_modern/src/modern_skinselector.cpp
+++ b/plugins/Clist_modern/src/modern_skinselector.cpp
@@ -57,7 +57,7 @@ DWORD mod_CalcHash(const char *szStr)
return hash;
}
-int AddModernMaskToList(MODERNMASK *mm, LISTMODERNMASK * mmTemplateList)
+static int AddModernMaskToList(MODERNMASK *mm, LISTMODERNMASK * mmTemplateList)
{
if (!mmTemplateList || !mm) return -1;
mmTemplateList->pl_Masks = (MODERNMASK *)mir_realloc(mmTemplateList->pl_Masks, sizeof(MODERNMASK)*(mmTemplateList->dwMaskCnt + 1));
@@ -77,7 +77,7 @@ int ClearMaskList(LISTMODERNMASK * mmTemplateList)
return 0;
}
-int DeleteMaskByItID(DWORD mID, LISTMODERNMASK *mmTemplateList)
+static int DeleteMaskByItID(DWORD mID, LISTMODERNMASK *mmTemplateList)
{
if (!mmTemplateList) return -1;
if (mID >= mmTemplateList->dwMaskCnt) return -1;
@@ -103,7 +103,7 @@ int DeleteMaskByItID(DWORD mID, LISTMODERNMASK *mmTemplateList)
}
-int ExchangeMasksByID(DWORD mID1, DWORD mID2, LISTMODERNMASK * mmTemplateList)
+static int ExchangeMasksByID(DWORD mID1, DWORD mID2, LISTMODERNMASK * mmTemplateList)
{
if (!mmTemplateList) return 0;
if (mID1 >= mmTemplateList->dwMaskCnt) return 0;
@@ -232,7 +232,7 @@ static BOOL _GetParamValue(char *szText, unsigned int &start, unsigned int lengt
return (value || param);
}
-int ParseToModernMask(MODERNMASK *mm, char *szText)
+static int ParseToModernMask(MODERNMASK *mm, char *szText)
{
if (!mm || !szText) return -1;
@@ -279,7 +279,7 @@ int ParseToModernMask(MODERNMASK *mm, char *szText)
return 0;
};
-BOOL CompareModernMask(MODERNMASK *mmValue, MODERNMASK *mmTemplate)
+static BOOL CompareModernMask(MODERNMASK *mmValue, MODERNMASK *mmTemplate)
{
//TODO
BOOL res = TRUE;