summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-06-20 15:52:38 +0200
committerGitHub <noreply@github.com>2023-06-20 15:52:38 +0200
commiteae6f347ef8be58cc868ec623eef076995b0d383 (patch)
treedd1ac6ec9608a4dbc5a7c100b5400f0404452ac3
parentcb5ffbdf26d61c6eeb7e95152ec1b2e9d63d76f5 (diff)
parentdd4e145f59ec6144db7d16e29cac82f9d616deb0 (diff)
Merge pull request #8 from wasix-org/add_inet_ntoa_function
Add more functions
-rw-r--r--Makefile1
-rw-r--r--expected/wasm32-wasi/defined-symbols.txt1
-rw-r--r--expected/wasm64-wasi/defined-symbols.txt1
-rw-r--r--libc-top-half/musl/include/time.h2
4 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index be0ede9..6cc9bbd 100644
--- a/Makefile
+++ b/Makefile
@@ -97,6 +97,7 @@ LIBC_TOP_HALF_MUSL_SOURCES = \
misc/getrusage.c \
misc/uname.c \
misc/nftw.c \
+ misc/realpath.c \
misc/syslog.c \
errno/strerror.c \
\
diff --git a/expected/wasm32-wasi/defined-symbols.txt b/expected/wasm32-wasi/defined-symbols.txt
index 9ebe284..446b0d4 100644
--- a/expected/wasm32-wasi/defined-symbols.txt
+++ b/expected/wasm32-wasi/defined-symbols.txt
@@ -1415,6 +1415,7 @@ readlinkat
readv
realloc
reallocarray
+realpath
recv
recvfrom
recvmsg
diff --git a/expected/wasm64-wasi/defined-symbols.txt b/expected/wasm64-wasi/defined-symbols.txt
index 9ebe284..446b0d4 100644
--- a/expected/wasm64-wasi/defined-symbols.txt
+++ b/expected/wasm64-wasi/defined-symbols.txt
@@ -1415,6 +1415,7 @@ readlinkat
readv
realloc
reallocarray
+realpath
recv
recvfrom
recvmsg
diff --git a/libc-top-half/musl/include/time.h b/libc-top-half/musl/include/time.h
index e99a0b3..a8a4071 100644
--- a/libc-top-half/musl/include/time.h
+++ b/libc-top-half/musl/include/time.h
@@ -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;