aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/time.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-03 19:59:05 +0200
committerAlon Zakai <alonzakai@gmail.com>2011-10-03 19:59:05 +0200
commita9f082c2d60417730d11d2c0dc9da7e6e5ed2e00 (patch)
treebaf6d9b2d17814be17d45f90d09b74f47ebb9248 /system/include/libc/time.h
parent95420a111d0ba2154ce9953b2506f7e402b97d7b (diff)
fix test_time
Diffstat (limited to 'system/include/libc/time.h')
-rw-r--r--system/include/libc/time.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/include/libc/time.h b/system/include/libc/time.h
index bc07d30f..019dd872 100644
--- a/system/include/libc/time.h
+++ b/system/include/libc/time.h
@@ -41,6 +41,9 @@ struct tm
int tm_wday;
int tm_yday;
int tm_isdst;
+ /* XXX Emscripten */
+ int tm_gmtoff;
+ char *tm_zone;
};
clock_t _EXFUN(clock, (void));
@@ -253,6 +256,12 @@ int _EXFUN(clock_getenable_attr, (clockid_t clock_id, int *attr));
#endif /* _POSIX_CPUTIME or _POSIX_THREAD_CPUTIME */
+/* XXX Emscripten */
+
+int _EXFUN(stime, (time_t *t));
+time_t _EXFUN(timegm, (struct tm *t));
+int _EXFUN(dysize, (int year));
+
#ifdef __cplusplus
}
#endif