Fixed SetLocalTime prototype.

This commit is contained in:
Alexandre Julliard 1999-08-08 18:56:04 +00:00
parent 89f079bfd1
commit bada25d5da
2 changed files with 5 additions and 8 deletions

View File

@ -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)

View File

@ -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;