summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/cygwin/time.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/winsup/cygwin/include/cygwin/time.h b/winsup/cygwin/include/cygwin/time.h
index 2f84505f5..50ec87dac 100644
--- a/winsup/cygwin/include/cygwin/time.h
+++ b/winsup/cygwin/include/cygwin/time.h
@@ -29,13 +29,8 @@ time_t __cdecl timegm (struct tm *);
# define daylight _daylight
# endif
-/* The timezone function is only kept for backward compatibility.
- POSIX expects the timezone variable as XSI extension. */
-# ifdef __timezonefunc__
-char __cdecl *timezone (void);
-# elif !defined(timezone)
-# define timezone _timezone
-# endif
+extern long timezone __asm__ ("__timezone");
+
#endif /*__STRICT_ANSI__*/
#ifdef __cplusplus