mirror of
https://github.com/janet-lang/janet
synced 2025-02-24 04:00:02 +00:00
bsds are very strict on C standards
No labels before declarations.
This commit is contained in:
parent
7511eadaa7
commit
e209e54ffe
@ -1408,9 +1408,9 @@ static void janet_ev_setup_selfpipe(void) {
|
||||
|
||||
/* Handle events from the self pipe inside the event loop */
|
||||
static void janet_ev_handle_selfpipe(void) {
|
||||
recur:
|
||||
JanetSelfPipeEvent response;
|
||||
int status;
|
||||
recur:
|
||||
do {
|
||||
status = read(janet_vm.selfpipe[0], &response, sizeof(response));
|
||||
} while (status == -1 && errno == EINTR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user