diff options
Diffstat (limited to '9/platforms/android-19/arch-arm64/usr/include/time.h')
-rw-r--r-- | 9/platforms/android-19/arch-arm64/usr/include/time.h | 59 |
1 files changed, 29 insertions, 30 deletions
diff --git a/9/platforms/android-19/arch-arm64/usr/include/time.h b/9/platforms/android-19/arch-arm64/usr/include/time.h index 0f86fd3..0587a2d 100644 --- a/9/platforms/android-19/arch-arm64/usr/include/time.h +++ b/9/platforms/android-19/arch-arm64/usr/include/time.h @@ -36,9 +36,9 @@ __BEGIN_DECLS #define CLOCKS_PER_SEC 1000000 -extern char* tzname[]; -extern int daylight; -extern long int timezone; +extern char* tzname[] __LIBC_ABI_PUBLIC__; +extern int daylight __LIBC_ABI_PUBLIC__; +extern long int timezone __LIBC_ABI_PUBLIC__; struct sigevent; @@ -58,44 +58,43 @@ struct tm { #define TM_ZONE tm_zone -extern time_t time(time_t*); -extern int nanosleep(const struct timespec*, struct timespec*); +extern time_t time(time_t*) __LIBC_ABI_PUBLIC__; +extern int nanosleep(const struct timespec*, struct timespec*) __LIBC_ABI_PUBLIC__; -extern char* asctime(const struct tm*); -extern char* asctime_r(const struct tm*, char*); +extern char* asctime(const struct tm*) __LIBC_ABI_PUBLIC__; +extern char* asctime_r(const struct tm*, char*) __LIBC_ABI_PUBLIC__; -extern double difftime(time_t, time_t); -extern time_t mktime(struct tm*); +extern double difftime(time_t, time_t) __LIBC_ABI_PUBLIC__; +extern time_t mktime(struct tm*) __LIBC_ABI_PUBLIC__; -extern struct tm* localtime(const time_t*); -extern struct tm* localtime_r(const time_t*, struct tm*); +extern struct tm* localtime(const time_t*) __LIBC_ABI_PUBLIC__; +extern struct tm* localtime_r(const time_t*, struct tm*) __LIBC_ABI_PUBLIC__; -extern struct tm* gmtime(const time_t*); -extern struct tm* gmtime_r(const time_t*, struct tm*); +extern struct tm* gmtime(const time_t*) __LIBC_ABI_PUBLIC__; +extern struct tm* gmtime_r(const time_t*, struct tm*) __LIBC_ABI_PUBLIC__; -extern char* strptime(const char*, const char*, struct tm*); -extern size_t strftime(char*, size_t, const char*, const struct tm*); +extern char* strptime(const char*, const char*, struct tm*) __LIBC_ABI_PUBLIC__; +extern size_t strftime(char*, size_t, const char*, const struct tm*) __LIBC_ABI_PUBLIC__; -extern char* ctime(const time_t*); -extern char* ctime_r(const time_t*, char*); +extern char* ctime(const time_t*) __LIBC_ABI_PUBLIC__; +extern char* ctime_r(const time_t*, char*) __LIBC_ABI_PUBLIC__; -extern void tzset(void); +extern void tzset(void) __LIBC_ABI_PUBLIC__; -extern clock_t clock(void); +extern clock_t clock(void) __LIBC_ABI_PUBLIC__; -extern int clock_getres(int, struct timespec*); -extern int clock_gettime(int, struct timespec*); +extern int clock_getres(int, struct timespec*) __LIBC_ABI_PUBLIC__; +extern int clock_gettime(int, struct timespec*) __LIBC_ABI_PUBLIC__; -extern int timer_create(int, struct sigevent*, timer_t*); -extern int timer_delete(timer_t); -extern int timer_settime(timer_t, int, const struct itimerspec*, struct itimerspec*); -extern int timer_gettime(timer_t, struct itimerspec*); -extern int timer_getoverrun(timer_t); +extern int timer_create(int, struct sigevent*, timer_t*) __LIBC_ABI_PUBLIC__; +extern int timer_delete(timer_t) __LIBC_ABI_PUBLIC__; +extern int timer_settime(timer_t, int, const struct itimerspec*, struct itimerspec*) __LIBC_ABI_PUBLIC__; +extern int timer_gettime(timer_t, struct itimerspec*) __LIBC_ABI_PUBLIC__; +extern int timer_getoverrun(timer_t) __LIBC_ABI_PUBLIC__; -extern time_t timelocal(struct tm*); -extern time_t timegm(struct tm*); -extern time_t time2posix(time_t); -extern time_t posix2time(time_t); +/* Non-standard extensions that are in the BSDs and glibc. */ +extern time_t timelocal(struct tm*) __LIBC_ABI_PUBLIC__; +extern time_t timegm(struct tm*) __LIBC_ABI_PUBLIC__; __END_DECLS |