Browse Source

crt1-command.c: fix whitespace issues (#480)

pull/477/head
YAMAMOTO Takashi 8 months ago
committed by GitHub
parent
commit
a963040f0a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 6
      libc-bottom-half/crt/crt1-command.c

6
libc-bottom-half/crt/crt1-command.c

@ -20,18 +20,18 @@ void _start(void) {
static volatile _Atomic int started = 0;
int expected = 0;
if (!atomic_compare_exchange_strong(&started, &expected, 1)) {
__builtin_trap();
__builtin_trap();
}
#else
static volatile int started = 0;
if (started != 0) {
__builtin_trap();
__builtin_trap();
}
started = 1;
#endif
#ifdef _REENTRANT
__wasi_init_tp();
__wasi_init_tp();
#endif
// The linker synthesizes this to call constructors.

Loading…
Cancel
Save