From 7a43dbe39bc9901aab89b7e3e6fbfedd4c3e3c76 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 28 Feb 2002 19:06:42 +0000 Subject: [PATCH] * times.cc: Remove if 0'd code. Clean up slightly. --- winsup/cygwin/times.cc | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 9674d1031..b7308bf02 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -170,28 +170,6 @@ _gettimeofday (struct timeval *p, struct timezone *z) return gettimeofday (p, z); } -#if 0 -/* Work out magic constant below */ -genf () -{ - SYSTEMTIME s; - FILETIME f; - s.wYear = 1970; - s.wMonth = 1; - s.wDayOfWeek = 4; - s.wDay = 1; - s.wHour = 0; - s.wMinute = 0; - s.wSecond = 0; - s.wMilliseconds = 0; - SystemTimeToFileTime (&s, &f); - - small_printf ("FILE TIME is %08x%08x\n", - f.dwHighDateTime, - f.dwLowDateTime); -} -#endif - /* Cygwin internal */ void time_t_to_filetime (time_t time_in, FILETIME *out) @@ -552,8 +530,7 @@ ftime (struct timeb *tp) } /* obsolete, changed to cygwin_tzset when localtime.c was added - dj */ -extern "C" -void +extern "C" void cygwin_tzset () { }