mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-07-15 05:16:48 +00:00

For now, this means using `//`-style comments in .c source files (though not public header files), and spaces rather than tabs. No strong opinion here; this is just what the majority of the current code is using. This also synchronizes basics/crt/crt1.c with libc-bottom-half's version, though this is just a cleanup as the former isn't currently used by the main wasi-libc build.
7 lines
157 B
C
7 lines
157 B
C
#include <errno.h>
|
|
#include <threads.h>
|
|
|
|
// These values are used by reference-sysroot's dlmalloc.
|
|
const int __EINVAL = EINVAL;
|
|
const int __ENOMEM = ENOMEM;
|