Skip to content

Commit

Permalink
crt1-command.c: fix whitespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Mar 11, 2024
1 parent a1b4def commit 57d2616
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libc-bottom-half/crt/crt1-command.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 57d2616

Please sign in to comment.