From 749d9bcd4b38c921930a9ce51bea2a8df0edf940 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 1 Aug 2000 20:51:51 +0000 Subject: * libc/include/sys/config.h: define __IMPORT appropriately * libc/include/ctype.h (_ctype_): use __IMPORT * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto * libc/include/math.h (__mb_cur_max): ditto * libc/include/time.h (_timezone, _daylight, _tzname): ditto * libc/include/unctrl.h (__unctrl, __unctrllen): ditto * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto * libc/include/unistd.h (environ): ditto --- newlib/libc/include/time.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newlib/libc/include/time.h') diff --git a/newlib/libc/include/time.h b/newlib/libc/include/time.h index 91616b7f8..d3ced3854 100644 --- a/newlib/libc/include/time.h +++ b/newlib/libc/include/time.h @@ -74,9 +74,9 @@ struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *)); #ifdef __CYGWIN__ #ifndef __STRICT_ANSI__ -extern time_t _timezone __declspec(dllimport); -extern int _daylight __declspec(dllimport); -extern char *_tzname[2] __declspec(dllimport); +extern __IMPORT time_t _timezone; +extern __IMPORT int _daylight; +extern __IMPORT char *_tzname[2]; char *_EXFUN(timezone, (void)); void _EXFUN(tzset, (void)); -- cgit v1.2.3