diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-28 14:55:49 +0000 |
commit | 056d2be888a4235a109a123b7b2a715aa3ff72ba (patch) | |
tree | b1956081bb951f44ced81414db7656a832613b71 /plugins/UserInfoEx/src/svc_constants.cpp | |
parent | 5f03619d3bbda7a617f50ded2698cffc434dd525 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx/src/svc_constants.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/svc_constants.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/src/svc_constants.cpp b/plugins/UserInfoEx/src/svc_constants.cpp index 4e06f1fcba..4b2828b247 100644 --- a/plugins/UserInfoEx/src/svc_constants.cpp +++ b/plugins/UserInfoEx/src/svc_constants.cpp @@ -266,7 +266,7 @@ static int __cdecl ListSortProc(const LPIDSTRLIST p1, const LPIDSTRLIST p2) *
* @return nothing
**/
-static VOID SvcConstantsTranslateList(LPIDSTRLIST pList, UINT nListCount/*, SortedList *pSorted*/)
+static void SvcConstantsTranslateList(LPIDSTRLIST pList, UINT nListCount/*, SortedList *pSorted*/)
{
if (!pList[0].ptszTranslated)
{
@@ -279,7 +279,7 @@ static VOID SvcConstantsTranslateList(LPIDSTRLIST pList, UINT nListCount/*, Sort // Sort list according translated text and ignore first item.
qsort(pList+1, nListCount-1, sizeof(pList[0]),
- (INT (*)(const VOID*, const VOID*))ListSortProc);
+ (int (*)(const void*, const void*))ListSortProc);
}
}
@@ -314,7 +314,7 @@ INT_PTR GetCountryList(LPUINT pnListSize, LPIDSTRLIST *pList) }
// Sort list according translated text and ignore first item.
qsort(MyCountries+1, MyCountriesCount-1, sizeof(MyCountries[0]),
- (INT (*)(const VOID*, const VOID*))ListSortProc);
+ (int (*)(const void*, const void*))ListSortProc);
}
else
{
@@ -387,7 +387,7 @@ INT_PTR GetNamePrefixList(LPUINT pnListSize, LPIDSTRLIST *pList) return MIR_OK;
}
-VOID SvcConstantsLoadModule(VOID)
+void SvcConstantsLoadModule(void)
{
UINT nListSize;
LPIDSTRLIST pList;
@@ -403,7 +403,7 @@ VOID SvcConstantsLoadModule(VOID) GetNamePrefixList(&nListSize, &pList);
}
-static VOID FORCEINLINE SvcConstantsClearList(UINT pnListSize, LPIDSTRLIST pList)
+static void FORCEINLINE SvcConstantsClearList(UINT pnListSize, LPIDSTRLIST pList)
{
if (pList)
{
@@ -414,7 +414,7 @@ static VOID FORCEINLINE SvcConstantsClearList(UINT pnListSize, LPIDSTRLIST pList }
}
-VOID SvcConstantsUnloadModule(VOID)
+void SvcConstantsUnloadModule(void)
{
SvcConstantsClearList(SIZEOF(TmplMarital), TmplMarital);
SvcConstantsClearList(SIZEOF(TmplLanguages), TmplLanguages);
|