]> git.proxmox.com Git - wasi-libc.git/commitdiff
Fixes #20
authorJakub Konka <kubkon@jakubkonka.com>
Sun, 21 Apr 2019 19:24:20 +0000 (21:24 +0200)
committerDan Gohman <sunfish@mozilla.com>
Mon, 22 Apr 2019 15:24:42 +0000 (08:24 -0700)
Adds missing localtime.c source file to Makefile and to expected
defined symbols list.

Makefile
expected/wasm32-wasi/defined-symbols.txt

index 8f225f2f39898ebb504db92f7f61837958d4b2d4..9acbc60eef92a34ff08775dfb67c08d4941f5c10 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -99,6 +99,7 @@ LIBC_TOP_HALF_MUSL_SOURCES = \
     $(LIBC_TOP_HALF_MUSL_SRC_DIR)/time/gmtime_r.c \
     $(LIBC_TOP_HALF_MUSL_SRC_DIR)/time/timespec_get.c \
     $(LIBC_TOP_HALF_MUSL_SRC_DIR)/time/getdate.c \
+    $(LIBC_TOP_HALF_MUSL_SRC_DIR)/time/localtime.c \
     $(LIBC_TOP_HALF_MUSL_SRC_DIR)/time/localtime_r.c \
     $(LIBC_TOP_HALF_MUSL_SRC_DIR)/time/mktime.c \
     $(LIBC_TOP_HALF_MUSL_SRC_DIR)/time/__tm_to_secs.c \
index d7910c9a14863d7f4a9c717bd49b1c45156cce17..5889f7dfc6ded15b61fc3dc60f45cd06065af91d 100644 (file)
@@ -692,6 +692,7 @@ llround
 llroundf
 llroundl
 localeconv
+localtime
 localtime_r
 log
 log10