mirror of
https://github.com/janet-lang/janet
synced 2025-02-24 12:10:00 +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 */
|
/* Handle events from the self pipe inside the event loop */
|
||||||
static void janet_ev_handle_selfpipe(void) {
|
static void janet_ev_handle_selfpipe(void) {
|
||||||
recur:
|
|
||||||
JanetSelfPipeEvent response;
|
JanetSelfPipeEvent response;
|
||||||
int status;
|
int status;
|
||||||
|
recur:
|
||||||
do {
|
do {
|
||||||
status = read(janet_vm.selfpipe[0], &response, sizeof(response));
|
status = read(janet_vm.selfpipe[0], &response, sizeof(response));
|
||||||
} while (status == -1 && errno == EINTR);
|
} while (status == -1 && errno == EINTR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user