summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-18 11:04:22 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-18 11:04:22 +0000
commitac7b23f7aedc3d11da2b2dbc39dda5960be6c924 (patch)
tree7180cd6f168357c12ee62e294e442d01254113dd
parentc5d24c6702c7b377d62ac95990e9131e56047d40 (diff)
downloadrockbox-ac7b23f7aedc3d11da2b2dbc39dda5960be6c924.tar.gz
rockbox-ac7b23f7aedc3d11da2b2dbc39dda5960be6c924.zip
removed lotsa protos and now it seems to build on sim too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1063 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/include/time.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/firmware/include/time.h b/firmware/include/time.h
index 09034d821f..e3517e725b 100644
--- a/firmware/include/time.h
+++ b/firmware/include/time.h
@@ -41,46 +41,6 @@ struct tm
41 int tm_isdst; 41 int tm_isdst;
42}; 42};
43 43
44clock_t _EXFUN(clock, (void));
45double _EXFUN(difftime, (time_t _time2, time_t _time1));
46time_t _EXFUN(mktime, (struct tm *_timeptr));
47time_t _EXFUN(time, (time_t *_timer));
48#ifndef _REENT_ONLY
49char *_EXFUN(asctime, (const struct tm *_tblock));
50char *_EXFUN(ctime, (const time_t *_time));
51struct tm *_EXFUN(gmtime, (const time_t *_timer));
52struct tm *_EXFUN(localtime,(const time_t *_timer));
53#endif
54size_t _EXFUN(strftime, (char *_s, size_t _maxsize, const char *_fmt, const struct tm *_t));
55
56char *_EXFUN(asctime_r, (const struct tm *, char *));
57char *_EXFUN(ctime_r, (const time_t *, char *));
58struct tm *_EXFUN(gmtime_r, (const time_t *, struct tm *));
59struct tm *_EXFUN(localtime_r, (const time_t *, struct tm *));
60
61#ifdef __CYGWIN__
62#ifndef __STRICT_ANSI__
63extern __IMPORT time_t _timezone;
64extern __IMPORT int _daylight;
65extern __IMPORT char *_tzname[2];
66/* defines for the opengroup specifications Derived from Issue 1 of the SVID. */
67#ifndef tzname
68#define tzname _tzname
69#endif
70#ifndef daylight
71#define daylight _daylight
72#endif
73#if timezonevar
74#ifndef timezone
75#define timezone ((long int) _timezone)
76#endif
77#else
78char *_EXFUN(timezone, (void));
79#endif
80void _EXFUN(tzset, (void));
81#endif
82#endif /* __CYGWIN__ */
83
84#ifdef __cplusplus 44#ifdef __cplusplus
85} 45}
86#endif 46#endif