From bada25d5da43804d98bce2831f23bfb6da5a95b9 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sun, 8 Aug 1999 18:56:04 +0000 Subject: [PATCH] Fixed SetLocalTime prototype. --- include/winbase.h | 11 ++++------- win32/time.c | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/include/winbase.h b/include/winbase.h index 35a79fd2fb0..8a558184e9b 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1493,10 +1493,10 @@ DWORD WINAPI SetFilePointer(HFILE,LONG,LPLONG,DWORD); BOOL WINAPI SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); BOOL WINAPI SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR); #define SetFileSecurity WINELIB_NAME_AW(SetFileSecurity) -BOOL WINAPI SetFileTime(HFILE,const FILETIME*,const FILETIME*, - const FILETIME*); -BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD); -BOOL WINAPI SetPriorityClass(HANDLE,DWORD); +BOOL WINAPI SetFileTime(HFILE,const FILETIME*,const FILETIME*,const FILETIME*); +BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD); +BOOL WINAPI SetLocalTime(const SYSTEMTIME*); +BOOL WINAPI SetPriorityClass(HANDLE,DWORD); BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,BOOL,PACL,BOOL); BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,BOOL); BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,BOOL); @@ -1766,9 +1766,6 @@ BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR); LPSTR WINAPI lstrcatA(LPSTR,LPCSTR); LPWSTR WINAPI lstrcatW(LPWSTR,LPCWSTR); #define lstrcat WINELIB_NAME_AW(lstrcat) -LPSTR WINAPI lstrcatnA(LPSTR,LPCSTR,INT); -LPWSTR WINAPI lstrcatnW(LPWSTR,LPCWSTR,INT); -#define lstrcatn WINELIB_NAME_AW(lstrcatn) LPSTR WINAPI lstrcpyA(LPSTR,LPCSTR); LPWSTR WINAPI lstrcpyW(LPWSTR,LPCWSTR); #define lstrcpy WINELIB_NAME_AW(lstrcpy) diff --git a/win32/time.c b/win32/time.c index 0e546dca55c..cbb5a8ea5ad 100644 --- a/win32/time.c +++ b/win32/time.c @@ -44,7 +44,7 @@ VOID WINAPI GetLocalTime(LPSYSTEMTIME systime) * FIXME: correct ? Is the timezone param of settimeofday() needed ? * I don't have any docu about SetLocal/SystemTime(), argl... */ -VOID WINAPI SetLocalTime(LPSYSTEMTIME systime) +BOOL WINAPI SetLocalTime(const SYSTEMTIME *systime) { struct timeval tv; struct tm t; -- 2.11.4.GIT