Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions expected/wasm32-wasip1-threads/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ __ctype_tolower_loc
__ctype_toupper_loc
__cxa_atexit
__cxa_finalize
__daylight
__default_guardsize
__default_stacksize
__des_setkey
Expand Down Expand Up @@ -282,6 +283,7 @@ __testcancel
__thread_list_lock
__timedwait
__timedwait_cp
__timezone
__tl_lock
__tl_sync
__tl_unlock
Expand All @@ -300,6 +302,7 @@ __tre_mem_alloc_impl
__tre_mem_destroy
__tre_mem_new_impl
__tsearch_balance
__tzname
__tzname_to_isdst
__uflow
__unlist_locked_file
Expand Down Expand Up @@ -582,6 +585,7 @@ ctanhl
ctanl
ctime
ctime_r
daylight
difftime
dirfd
dirname
Expand Down Expand Up @@ -1307,6 +1311,7 @@ time
timegm
times
timespec_get
timezone
toascii
tolower
tolower_l
Expand All @@ -1325,6 +1330,8 @@ truncl
tsearch
tss_get
twalk
tzname
tzset
uname
ungetc
ungetwc
Expand Down
7 changes: 7 additions & 0 deletions expected/wasm32-wasip1/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ __ctype_tolower_loc
__ctype_toupper_loc
__cxa_atexit
__cxa_finalize
__daylight
__default_guardsize
__default_stacksize
__des_setkey
Expand Down Expand Up @@ -277,6 +278,7 @@ __tanl
__testcancel
__timedwait
__timedwait_cp
__timezone
__tl_lock
__tl_unlock
__tm_to_secs
Expand All @@ -294,6 +296,7 @@ __tre_mem_alloc_impl
__tre_mem_destroy
__tre_mem_new_impl
__tsearch_balance
__tzname
__tzname_to_isdst
__uflow
__unlist_locked_file
Expand Down Expand Up @@ -569,6 +572,7 @@ ctanhl
ctanl
ctime
ctime_r
daylight
difftime
dirfd
dirname
Expand Down Expand Up @@ -1294,6 +1298,7 @@ time
timegm
times
timespec_get
timezone
toascii
tolower
tolower_l
Expand All @@ -1312,6 +1317,8 @@ truncl
tsearch
tss_get
twalk
tzname
tzset
uname
ungetc
ungetwc
Expand Down
7 changes: 7 additions & 0 deletions expected/wasm32-wasip2/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ __ctype_tolower_loc
__ctype_toupper_loc
__cxa_atexit
__cxa_finalize
__daylight
__default_guardsize
__default_stacksize
__des_setkey
Expand Down Expand Up @@ -279,6 +280,7 @@ __tanl
__testcancel
__timedwait
__timedwait_cp
__timezone
__tl_lock
__tl_unlock
__tm_to_secs
Expand All @@ -296,6 +298,7 @@ __tre_mem_alloc_impl
__tre_mem_destroy
__tre_mem_new_impl
__tsearch_balance
__tzname
__tzname_to_isdst
__uflow
__unlist_locked_file
Expand Down Expand Up @@ -552,6 +555,7 @@ ctanhl
ctanl
ctime
ctime_r
daylight
descriptor_table_clear
descriptor_table_dup
descriptor_table_get
Expand Down Expand Up @@ -1471,6 +1475,7 @@ time
timegm
times
timespec_get
timezone
toascii
tolower
tolower_l
Expand All @@ -1489,6 +1494,8 @@ truncl
tsearch
tss_get
twalk
tzname
tzset
udp_borrow_incoming_datagram_stream
udp_borrow_outgoing_datagram_stream
udp_borrow_udp_socket
Expand Down
7 changes: 7 additions & 0 deletions expected/wasm32-wasip3-coop/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ __ctype_tolower_loc
__ctype_toupper_loc
__cxa_atexit
__cxa_finalize
__daylight
__default_guardsize
__default_stacksize
__des_setkey
Expand Down Expand Up @@ -304,6 +305,7 @@ __tanl
__testcancel
__timedwait
__timedwait_cp
__timezone
__tl_lock
__tl_unlock
__tm_to_secs
Expand All @@ -321,6 +323,7 @@ __tre_mem_alloc_impl
__tre_mem_destroy
__tre_mem_new_impl
__tsearch_balance
__tzname
__tzname_to_isdst
__uflow
__unlist_locked_file
Expand Down Expand Up @@ -592,6 +595,7 @@ ctanhl
ctanl
ctime
ctime_r
daylight
descriptor_table_clear
descriptor_table_dup
descriptor_table_get
Expand Down Expand Up @@ -1553,6 +1557,7 @@ time
timegm
times
timespec_get
timezone
toascii
tolower
tolower_l
Expand All @@ -1571,6 +1576,8 @@ truncl
tsearch
tss_get
twalk
tzname
tzset
uname
ungetc
ungetwc
Expand Down
7 changes: 7 additions & 0 deletions expected/wasm32-wasip3/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ __ctype_tolower_loc
__ctype_toupper_loc
__cxa_atexit
__cxa_finalize
__daylight
__default_guardsize
__default_stacksize
__des_setkey
Expand Down Expand Up @@ -280,6 +281,7 @@ __tanl
__testcancel
__timedwait
__timedwait_cp
__timezone
__tl_lock
__tl_unlock
__tm_to_secs
Expand All @@ -297,6 +299,7 @@ __tre_mem_alloc_impl
__tre_mem_destroy
__tre_mem_new_impl
__tsearch_balance
__tzname
__tzname_to_isdst
__uflow
__unlist_locked_file
Expand Down Expand Up @@ -566,6 +569,7 @@ ctanhl
ctanl
ctime
ctime_r
daylight
descriptor_table_clear
descriptor_table_dup
descriptor_table_get
Expand Down Expand Up @@ -1525,6 +1529,7 @@ time
timegm
times
timespec_get
timezone
toascii
tolower
tolower_l
Expand All @@ -1543,6 +1548,8 @@ truncl
tsearch
tss_get
twalk
tzname
tzset
uname
ungetc
ungetwc
Expand Down
7 changes: 7 additions & 0 deletions expected/wasm32-webp2/defined-symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ __ctype_tolower_loc
__ctype_toupper_loc
__cxa_atexit
__cxa_finalize
__daylight
__default_guardsize
__default_stacksize
__des_setkey
Expand Down Expand Up @@ -279,6 +280,7 @@ __tanl
__testcancel
__timedwait
__timedwait_cp
__timezone
__tl_lock
__tl_unlock
__tm_to_secs
Expand All @@ -296,6 +298,7 @@ __tre_mem_alloc_impl
__tre_mem_destroy
__tre_mem_new_impl
__tsearch_balance
__tzname
__tzname_to_isdst
__uflow
__unlist_locked_file
Expand Down Expand Up @@ -528,6 +531,7 @@ ctanhl
ctanl
ctime
ctime_r
daylight
descriptor_table_clear
descriptor_table_dup
descriptor_table_get
Expand Down Expand Up @@ -1265,6 +1269,7 @@ time
timegm
times
timespec_get
timezone
toascii
tolower
tolower_l
Expand All @@ -1283,6 +1288,8 @@ truncl
tsearch
tss_get
twalk
tzname
tzset
uname
ungetc
ungetwc
Expand Down
8 changes: 2 additions & 6 deletions libc-top-half/musl/include/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@ struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict);
char *asctime_r (const struct tm *__restrict, char *__restrict);
char *ctime_r (const time_t *, char *);

#ifdef __wasilibc_unmodified_upstream /* WASI has no timezone tables */
void tzset (void);
#endif

struct itimerspec {
struct timespec it_interval;
Expand Down Expand Up @@ -143,19 +141,17 @@ int timer_gettime (timer_t, struct itimerspec *);
int timer_getoverrun (timer_t);
#endif

#ifdef __wasilibc_unmodified_upstream /* WASI has no timezone tables */
extern char *tzname[2];
#endif

#endif


#if defined(_XOPEN_SOURCE) || defined(_BSD_SOURCE) || defined(_GNU_SOURCE)
char *strptime (const char *__restrict, const char *__restrict, struct tm *__restrict);
#ifdef __wasilibc_unmodified_upstream /* WASI has no timezone tables */

extern int daylight;
extern long timezone;
#endif

extern int getdate_err;
struct tm *getdate (const char *);
#endif
Expand Down
Loading
Loading