Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-02-28 22:06:42 +0300
committerChristopher Faylor <me@cgf.cx>2002-02-28 22:06:42 +0300
commit7a43dbe39bc9901aab89b7e3e6fbfedd4c3e3c76 (patch)
tree414d0eb0096429a9a702129ed6aab2b2b09e8acd /winsup
parentf449bfef408685a2e4c0fc40c601c584fbc7bc82 (diff)
* times.cc: Remove if 0'd code. Clean up slightly.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/times.cc25
1 files changed, 1 insertions, 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 ()
{
}