Build tzcode with hidden visibility.

Bug: 11156955
Change-Id: Ib98d837b56cbbdfd01687cb3054fe3103eec0da9
This commit is contained in:
Elliott Hughes
2014-06-19 14:49:30 -07:00
parent 29e3a0e312
commit d10db82619
6 changed files with 39 additions and 36 deletions

View File

@@ -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