Skip to content

Commit 9f39f6f

Browse files
committed
Update expected files.
1 parent 01ec7e0 commit 9f39f6f

3 files changed

Lines changed: 3 additions & 47 deletions

File tree

expected/wasm32-wasi/defined-symbols.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,9 @@ ilogbl
599599
imaxabs
600600
imaxdiv
601601
index
602+
inet_aton
603+
inet_ntop
604+
inet_pton
602605
initstate
603606
insque
604607
ioctl

expected/wasm32-wasi/include-all.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@
121121
#include <search.h>
122122
#include <semaphore.h>
123123
#include <signal.h>
124-
#include <spawn.h>
125124
#include <stdalign.h>
126125
#include <stdarg.h>
127126
#include <stdbool.h>
@@ -177,11 +176,9 @@
177176
#include <time.h>
178177
#include <uchar.h>
179178
#include <ucontext.h>
180-
#include <ulimit.h>
181179
#include <unistd.h>
182180
#include <utime.h>
183181
#include <values.h>
184182
#include <wasi.h>
185183
#include <wchar.h>
186184
#include <wctype.h>
187-
#include <wordexp.h>

expected/wasm32-wasi/predefined-macros.txt

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1531,7 +1531,6 @@
15311531
#define NOTZONE ns_r_notzone
15321532
#define NR_ICMP_TYPES 18
15331533
#define NR_ICMP_UNREACH 15
1534-
#define NSIG _NSIG
15351534
#define NSLC 18
15361535
#define NS_ALG_DH 2
15371536
#define NS_ALG_DSA 3
@@ -1702,27 +1701,13 @@
17021701
#define POLLOUT POLLWRNORM
17031702
#define POLLRDNORM 0x1
17041703
#define POLLWRNORM 0x2
1705-
#define POLL_ERR 4
1706-
#define POLL_HUP 6
1707-
#define POLL_IN 1
1708-
#define POLL_MSG 3
1709-
#define POLL_OUT 2
1710-
#define POLL_PRI 5
17111704
#define POSIX_CLOSE_RESTART 0
17121705
#define POSIX_FADV_DONTNEED __WASI_ADVICE_DONTNEED
17131706
#define POSIX_FADV_NOREUSE __WASI_ADVICE_NOREUSE
17141707
#define POSIX_FADV_NORMAL __WASI_ADVICE_NORMAL
17151708
#define POSIX_FADV_RANDOM __WASI_ADVICE_RANDOM
17161709
#define POSIX_FADV_SEQUENTIAL __WASI_ADVICE_SEQUENTIAL
17171710
#define POSIX_FADV_WILLNEED __WASI_ADVICE_WILLNEED
1718-
#define POSIX_SPAWN_RESETIDS 1
1719-
#define POSIX_SPAWN_SETPGROUP 2
1720-
#define POSIX_SPAWN_SETSCHEDPARAM 16
1721-
#define POSIX_SPAWN_SETSCHEDULER 32
1722-
#define POSIX_SPAWN_SETSID 128
1723-
#define POSIX_SPAWN_SETSIGDEF 4
1724-
#define POSIX_SPAWN_SETSIGMASK 8
1725-
#define POSIX_SPAWN_USEVFORK 64
17261711
#define PRELIM 1
17271712
#define PRIX16 "X"
17281713
#define PRIX32 "X"
@@ -2087,10 +2072,7 @@
20872072
#define SIG_ATOMIC_MAX INT32_MAX
20882073
#define SIG_ATOMIC_MIN INT32_MIN
20892074
#define SIG_BLOCK 0
2090-
#define SIG_DFL ((void (*)(int)) 0)
2091-
#define SIG_ERR ((void (*)(int))-1)
20922075
#define SIG_HOLD ((void (*)(int)) 2)
2093-
#define SIG_IGN ((void (*)(int)) 1)
20942076
#define SIG_SETMASK 2
20952077
#define SIG_UNBLOCK 1
20962078
#define SIZE_MAX UINT32_MAX
@@ -2148,10 +2130,6 @@
21482130
#define SOL_UDP 17
21492131
#define SO_TYPE 3
21502132
#define SSIZE_MAX LONG_MAX
2151-
#define SS_AUTODISARM (1U << 31)
2152-
#define SS_DISABLE 2
2153-
#define SS_FLAG_BITS SS_AUTODISARM
2154-
#define SS_ONSTACK 1
21552133
#define STATUS ns_o_status
21562134
#define STA_CLK 0x8000
21572135
#define STA_CLOCKERR 0x1000
@@ -2382,11 +2360,6 @@
23822360
#define TOSTOP 0000400
23832361
#define TOWRITE 00002
23842362
#define TRANSIENT 4
2385-
#define TRAP_BRANCH 3
2386-
#define TRAP_BRKPT 1
2387-
#define TRAP_HWBKPT 4
2388-
#define TRAP_TRACE 2
2389-
#define TRAP_UNK 5
23902363
#define TSGID 02000
23912364
#define TSS_DTOR_ITERATIONS 4
23922365
#define TSUID 04000
@@ -2486,8 +2459,6 @@
24862459
#define UIO_MAXIOV 1024
24872460
#define ULLONG_MAX (2ULL*LLONG_MAX+1)
24882461
#define ULONG_MAX (2UL*LONG_MAX+1)
2489-
#define UL_GETFSIZE 1
2490-
#define UL_SETFSIZE 2
24912462
#define USHRT_MAX 0xffff
24922463
#define UTIME_NOW (-1)
24932464
#define UTIME_OMIT (-2)
@@ -2526,18 +2497,6 @@
25262497
#define WNOHANG 1
25272498
#define WONT 252
25282499
#define WORD_BIT 32
2529-
#define WRDE_APPEND 2
2530-
#define WRDE_BADCHAR 2
2531-
#define WRDE_BADVAL 3
2532-
#define WRDE_CMDSUB 4
2533-
#define WRDE_DOOFFS 1
2534-
#define WRDE_NOCMD 4
2535-
#define WRDE_NOSPACE 1
2536-
#define WRDE_NOSYS -1
2537-
#define WRDE_REUSE 8
2538-
#define WRDE_SHOWERR 16
2539-
#define WRDE_SYNTAX 5
2540-
#define WRDE_UNDEF 32
25412500
#define WRQ 02
25422501
#define WSTOPSIG(s) WEXITSTATUS(s)
25432502
#define WTERMSIG(s) ((s) & 0x7f)
@@ -2910,7 +2869,6 @@
29102869
#define _SEMAPHORE_H
29112870
#define _SIGNAL_H
29122871
#define _SIZE_T
2913-
#define _SPAWN_H
29142872
#define _STDALIGN_H
29152873
#define _STDARG_H
29162874
#define _STDBOOL_H
@@ -2957,7 +2915,6 @@
29572915
#define _TIME_H
29582916
#define _UCHAR_H
29592917
#define _UCONTEXT_H
2960-
#define _ULIMIT_H
29612918
#define _UNISTD_H
29622919
#define _UTIME_H
29632920
#define _VALUES_H
@@ -2966,7 +2923,6 @@
29662923
#define _WCHAR_T
29672924
#define _WCTYPE_H
29682925
#define _WINT_T
2969-
#define _WORDEXP_H
29702926
#define _XOPEN_ENH_I18N 1
29712927
#define _XOPEN_IOV_MAX 16
29722928
#define _XOPEN_NAME_MAX 255

0 commit comments

Comments
 (0)