From: Danny Mayer Date: Sun, 12 Apr 2009 04:45:48 +0000 (-0400) Subject: [Bug 1156] lock_thread_to_processor() should be declared in header X-Git-Tag: NTP_4_2_4P7_RC3~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b69021b859d430ae376e53e7f5a4cf73b33a5420;p=thirdparty%2Fntp.git [Bug 1156] lock_thread_to_processor() should be declared in header bk: 49e171fcyEl_ve_R1p7zZr6EA6pzcQ --- diff --git a/ports/winnt/include/clockstuff.h b/ports/winnt/include/clockstuff.h index d57866488..f523bd74d 100644 --- a/ports/winnt/include/clockstuff.h +++ b/ports/winnt/include/clockstuff.h @@ -16,6 +16,7 @@ void init_winnt_time(void); void shutdown_winnt_time(void); void reset_winnt_time(void); +void lock_thread_to_processor(HANDLE); /* 100ns intervals between 1/1/1601 and 1/1/1970 as reported by * SystemTimeToFileTime() diff --git a/ports/winnt/ntpd/nt_clockstuff.c b/ports/winnt/ntpd/nt_clockstuff.c index 874a78a9e..465e89b8e 100644 --- a/ports/winnt/ntpd/nt_clockstuff.c +++ b/ports/winnt/ntpd/nt_clockstuff.c @@ -92,7 +92,6 @@ static LONGLONG ls_elapsed; static void StartClockThread(void); static void StopClockThread(void); -void lock_thread_to_processor(HANDLE); static CRITICAL_SECTION TimerCritialSection; /* lock for LastTimerCount & LastTimerTime */