summaryrefslogtreecommitdiff
path: root/watrack_mpd/utilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'watrack_mpd/utilities.c')
-rwxr-xr-xwatrack_mpd/utilities.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/watrack_mpd/utilities.c b/watrack_mpd/utilities.c
index 2a8fe0b..0d5327a 100755
--- a/watrack_mpd/utilities.c
+++ b/watrack_mpd/utilities.c
@@ -17,7 +17,7 @@
#include "commonheaders.h"
-HANDLE CreateThreadEx(pThreadFuncEx AFunc, void* arg, DWORD* pThreadID)
+/*HANDLE CreateThreadEx(pThreadFuncEx AFunc, void* arg, DWORD* pThreadID)
{
FORK_THREADEX_PARAMS params;
DWORD dwThreadId;
@@ -32,9 +32,9 @@ HANDLE CreateThreadEx(pThreadFuncEx AFunc, void* arg, DWORD* pThreadID)
*pThreadID = dwThreadId;
return hThread;
-}
+}*/
-TCHAR* __stdcall UniGetContactSettingUtf(HANDLE hContact, const char *szModule,const char* szSetting, TCHAR* szDef)
+/*TCHAR* __stdcall UniGetContactSettingUtf(HANDLE hContact, const char *szModule,const char* szSetting, TCHAR* szDef)
{
DBVARIANT dbv = {DBVT_DELETED};
TCHAR* szRes;
@@ -44,10 +44,10 @@ TCHAR* __stdcall UniGetContactSettingUtf(HANDLE hContact, const char *szModule,c
szRes = _tcsdup(dbv.ptszVal);
DBFreeVariant(&dbv);
return szRes;
-}
+}*/
// case-insensitive _tcsstr
-#define NEWTSTR_ALLOCA(A) (A==NULL)?NULL:_tcscpy((TCHAR*)alloca(sizeof(TCHAR)*(_tcslen(A)+1)),A)
+/*#define NEWTSTR_ALLOCA(A) (A==NULL)?NULL:_tcscpy((TCHAR*)alloca(sizeof(TCHAR)*(_tcslen(A)+1)),A)
const TCHAR *stristr( const TCHAR *str, const TCHAR *substr)
{
TCHAR *p;
@@ -59,7 +59,7 @@ const TCHAR *stristr( const TCHAR *str, const TCHAR *substr)
p = _tcsstr(str_up, substr_up);
return p ? (str + (p - str_up)) : NULL;
-}
+}*/
char *date()
{