summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-11-18 15:57:24 +0000
committerChristopher Faylor <me@cgf.cx>2005-11-18 15:57:24 +0000
commitc1534dbe09c79bb45a2330cde75a1878022a6158 (patch)
treed363cd541025564646d23f01260dec20cb58a3dd /newlib
parent4c57fb4960d45e3baa745e30a1372e9b87a4413c (diff)
downloadcygnal-c1534dbe09c79bb45a2330cde75a1878022a6158.tar.gz
cygnal-c1534dbe09c79bb45a2330cde75a1878022a6158.tar.bz2
cygnal-c1534dbe09c79bb45a2330cde75a1878022a6158.zip
* include/time.h: Remove more cygwin-specific stuff.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libc/include/time.h18
2 files changed, 4 insertions, 18 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index e2993e2bb..97824e9d8 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,9 @@
2005-11-18 Christopher Faylor <cgf@timesys.com>
+ * include/time.h: Remove more cygwin-specific stuff.
+
+2005-11-18 Christopher Faylor <cgf@timesys.com>
+
* include/time.h: Move cygwin declarations to cygwin-specific header.
* include/sys/time.h: Rename cygwin include to "sys_time.h".
diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h
index 60603e198..8d3a30c8a 100644
--- a/newlib/libc/include/time.h
+++ b/newlib/libc/include/time.h
@@ -123,20 +123,6 @@ extern __IMPORT char *_tzname[2];
#ifndef tzname
#define tzname _tzname
#endif
-
-/* CYGWIN also exposes daylight and timezone in the name space */
-#ifdef __CYGWIN__
-#ifndef daylight
-#define daylight _daylight
-#endif
-#ifdef timezonevar
-#ifndef timezone
-#define timezone _timezone
-#endif
-#else
-char *_EXFUN(timezone, (void));
-#endif
-#endif /* __CYGWIN__ */
#endif /* !__STRICT_ANSI__ */
#ifdef __cplusplus
@@ -217,10 +203,6 @@ extern "C" {
associated with a time. */
#define TIMER_ABSTIME 4
-#ifdef __CYGWIN__
-# define TIMER_RELTIME 0 /* For compatibility with HP/UX, Solaris,
- others? */
-#endif
/* Manifest Constants, P1003.4b/D8, p. 55 */