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

This commit is contained in:
YAMAMOTO Takashi 2024-03-12 09:04:46 +09:00 committed by GitHub
parent c8ef60ad9b
commit a963040f0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.