mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-07-27 12:52:53 +00:00
crt1-command.c: fix whitespace issues (#480)
This commit is contained in:
parent
c8ef60ad9b
commit
a963040f0a
@ -20,18 +20,18 @@ void _start(void) {
|
|||||||
static volatile _Atomic int started = 0;
|
static volatile _Atomic int started = 0;
|
||||||
int expected = 0;
|
int expected = 0;
|
||||||
if (!atomic_compare_exchange_strong(&started, &expected, 1)) {
|
if (!atomic_compare_exchange_strong(&started, &expected, 1)) {
|
||||||
__builtin_trap();
|
__builtin_trap();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
static volatile int started = 0;
|
static volatile int started = 0;
|
||||||
if (started != 0) {
|
if (started != 0) {
|
||||||
__builtin_trap();
|
__builtin_trap();
|
||||||
}
|
}
|
||||||
started = 1;
|
started = 1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _REENTRANT
|
#ifdef _REENTRANT
|
||||||
__wasi_init_tp();
|
__wasi_init_tp();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// The linker synthesizes this to call constructors.
|
// The linker synthesizes this to call constructors.
|
||||||
|
Loading…
Reference in New Issue
Block a user