Retract #15793 since #15775 should fix the problem.
[p5sagit/p5-mst-13.2.git] / wince / include / time.h
index 78acd32..fcda60f 100644 (file)
@@ -1,58 +1,58 @@
-#ifndef TIME_H\r
-#define TIME_H 1\r
-\r
-#include <celib_defs.h>\r
-#include <sys/types.h>\r
-\r
-#ifdef  __cplusplus\r
-extern "C" {\r
-#endif\r
-\r
-extern long _timezone;\r
-extern int _daylight;\r
-extern long _dstbias;\r
-extern char *_tzname[];\r
-extern const char __dnames[];\r
-extern const char __mnames[];\r
-extern int _days[];\r
-extern int _lpdays[];\r
-\r
-#define _DAY_SEC           (24L * 60L * 60L)    /* secs in a day */\r
-#define _YEAR_SEC          (365L * _DAY_SEC)    /* secs in a year */\r
-#define _FOUR_YEAR_SEC     (1461L * _DAY_SEC)   /* secs in a 4 year interval */\r
-#define _DEC_SEC           315532800L           /* secs in 1970-1979 */\r
-#define _BASE_YEAR         70L                  /* 1970 is the base year */\r
-#define _BASE_DOW          4                    /* 01-01-70 was a Thursday */\r
-#define _LEAP_YEAR_ADJUST  17L                  /* Leap years 1900 - 1970 */\r
-#define _MAX_YEAR          138L                 /* 2038 is the max year */\r
-\r
-struct tm {\r
-  int tm_sec;     /* seconds after the minute - [0,59] */\r
-  int tm_min;     /* minutes after the hour - [0,59] */\r
-  int tm_hour;    /* hours since midnight - [0,23] */\r
-  int tm_mday;    /* day of the month - [1,31] */\r
-  int tm_mon;     /* months since January - [0,11] */\r
-  int tm_year;    /* years since 1900 */\r
-  int tm_wday;    /* days since Sunday - [0,6] */\r
-  int tm_yday;    /* days since January 1 - [0,365] */\r
-  int tm_isdst;   /* daylight savings time flag */\r
-};\r
-\r
-XCE_EXPORT struct tm * xcegmtime(const time_t *timp);\r
-XCE_EXPORT struct tm *xcelocaltime (const time_t *ptime);\r
-XCE_EXPORT char *xceasctime (const struct tm *tb);\r
-XCE_EXPORT int xceutime (const char *fname, struct _utimbuf *times);\r
-XCE_EXPORT int xcefutime (int fh, struct _utimbuf *times);\r
-XCE_EXPORT void xceftime (struct _timeb *tp);\r
-XCE_EXPORT void xcegettimeofday (struct timeval *tv, struct timezone *tz);\r
-XCE_EXPORT char *xcectime(const time_t *timp);\r
-XCE_EXPORT void xceftime (struct _timeb *tp);\r
-XCE_EXPORT time_t xcemktime (struct tm *tb);\r
-XCE_EXPORT time_t xcetime (time_t *timeptr);\r
-XCE_EXPORT void _xcetzset(void);\r
-\r
-#ifdef  __cplusplus\r
-};\r
-#endif\r
-\r
-#endif\r
+#ifndef TIME_H
+#define TIME_H 1
+
+#include <celib_defs.h>
+#include <sys/types.h>
+
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
+extern long _timezone;
+extern int _daylight;
+extern long _dstbias;
+extern char *_tzname[];
+extern const char __dnames[];
+extern const char __mnames[];
+extern int _days[];
+extern int _lpdays[];
+
+#define _DAY_SEC           (24L * 60L * 60L)    /* secs in a day */
+#define _YEAR_SEC          (365L * _DAY_SEC)    /* secs in a year */
+#define _FOUR_YEAR_SEC     (1461L * _DAY_SEC)   /* secs in a 4 year interval */
+#define _DEC_SEC           315532800L           /* secs in 1970-1979 */
+#define _BASE_YEAR         70L                  /* 1970 is the base year */
+#define _BASE_DOW          4                    /* 01-01-70 was a Thursday */
+#define _LEAP_YEAR_ADJUST  17L                  /* Leap years 1900 - 1970 */
+#define _MAX_YEAR          138L                 /* 2038 is the max year */
+
+struct tm {
+  int tm_sec;     /* seconds after the minute - [0,59] */
+  int tm_min;     /* minutes after the hour - [0,59] */
+  int tm_hour;    /* hours since midnight - [0,23] */
+  int tm_mday;    /* day of the month - [1,31] */
+  int tm_mon;     /* months since January - [0,11] */
+  int tm_year;    /* years since 1900 */
+  int tm_wday;    /* days since Sunday - [0,6] */
+  int tm_yday;    /* days since January 1 - [0,365] */
+  int tm_isdst;   /* daylight savings time flag */
+};
+
+XCE_EXPORT struct tm * xcegmtime(const time_t *timp);
+XCE_EXPORT struct tm *xcelocaltime (const time_t *ptime);
+XCE_EXPORT char *xceasctime (const struct tm *tb);
+XCE_EXPORT int xceutime (const char *fname, struct _utimbuf *times);
+XCE_EXPORT int xcefutime (int fh, struct _utimbuf *times);
+XCE_EXPORT void xceftime (struct _timeb *tp);
+XCE_EXPORT void xcegettimeofday (struct timeval *tv, struct timezone *tz);
+XCE_EXPORT char *xcectime(const time_t *timp);
+XCE_EXPORT void xceftime (struct _timeb *tp);
+XCE_EXPORT time_t xcemktime (struct tm *tb);
+XCE_EXPORT time_t xcetime (time_t *timeptr);
+XCE_EXPORT void _xcetzset(void);
+
+#ifdef  __cplusplus
+};
+#endif
+
+#endif