diff options
| author | Elliott Hughes <enh@google.com> | 2014-06-19 22:25:00 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-06-19 20:38:20 +0000 |
| commit | d1bf37780d0bcaca3e6046171f958ebfea34bde1 (patch) | |
| tree | f3ec0b9a4e08a39492c86e49f17f1ba192b6182f /libc/tzcode/localtime.c | |
| parent | 29e3a0e312b7a76b91adfd77a399a390ffaed11d (diff) | |
| parent | d10db8261949e4d84b65f5c369153d0ca86ab22c (diff) | |
| download | bionic-d1bf37780d0bcaca3e6046171f958ebfea34bde1.zip bionic-d1bf37780d0bcaca3e6046171f958ebfea34bde1.tar.gz bionic-d1bf37780d0bcaca3e6046171f958ebfea34bde1.tar.bz2 | |
Merge "Build tzcode with hidden visibility."
Diffstat (limited to 'libc/tzcode/localtime.c')
| -rw-r--r-- | libc/tzcode/localtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/tzcode/localtime.c b/libc/tzcode/localtime.c index f0fd9e3..4dd7ab0 100644 --- a/libc/tzcode/localtime.c +++ b/libc/tzcode/localtime.c @@ -2293,7 +2293,7 @@ static int __bionic_tzload_cached(const char* name, struct state* const sp, cons } // Non-standard API: mktime(3) but with an explicit timezone parameter. -time_t mktime_tz(struct tm* const tmp, const char* tz) { +time_t __attribute__((visibility("default"))) mktime_tz(struct tm* const tmp, const char* tz) { struct state* st = malloc(sizeof(*st)); time_t return_value; @@ -2310,7 +2310,7 @@ time_t mktime_tz(struct tm* const tmp, const char* tz) { } // Non-standard API: localtime(3) but with an explicit timezone parameter. -void localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz) { +void __attribute__((visibility("default"))) localtime_tz(const time_t* const timep, struct tm* tmp, const char* tz) { struct state* st = malloc(sizeof(*st)); if (st == NULL) |
