Alexandre Julliard : kernel32: We no longer need the server start time in kernel32.

Alexandre Julliard julliard at winehq.org
Tue Jan 29 12:35:42 CST 2013


Module: wine
Branch: master
Commit: 199c99d852d2db635bbc8d41986d971551ca7d72
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=199c99d852d2db635bbc8d41986d971551ca7d72

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Jan 29 11:50:21 2013 +0100

kernel32: We no longer need the server start time in kernel32.

---

 dlls/kernel32/kernel_main.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dlls/kernel32/kernel_main.c b/dlls/kernel32/kernel_main.c
index 2edfcbc..cf548e3 100644
--- a/dlls/kernel32/kernel_main.c
+++ b/dlls/kernel32/kernel_main.c
@@ -41,8 +41,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(process);
 
 extern int CDECL __wine_set_signal_handler(unsigned, int (*)(unsigned));
 
-static ULONGLONG server_start_time;
-
 /***********************************************************************
  *           set_entry_point
  */
@@ -83,12 +81,8 @@ static void set_entry_point( HMODULE module, const char *name, DWORD rva )
  */
 static BOOL process_attach( HMODULE module )
 {
-    SYSTEM_TIMEOFDAY_INFORMATION ti;
     RTL_USER_PROCESS_PARAMETERS *params = NtCurrentTeb()->Peb->ProcessParameters;
 
-    NtQuerySystemInformation( SystemTimeOfDayInformation, &ti, sizeof(ti), NULL );
-    server_start_time = ti.liKeBootTime.QuadPart;
-
     /* Setup registry locale information */
     LOCALE_InitRegistry();
 




More information about the wine-cvs mailing list