mirror of
https://github.com/urbit/ares.git
synced 2024-12-23 13:25:03 +03:00
guard: placate clang warnings
This commit is contained in:
parent
5dcc2402ea
commit
96e0777b6b
@ -25,7 +25,14 @@ struct GD_state {
|
||||
struct sigaction prev_sigbus_sa;
|
||||
};
|
||||
|
||||
static GD_state gd = { 0 , NULL, NULL, NULL, NULL, 0 };
|
||||
static GD_state gd = {
|
||||
.guard_p = 0,
|
||||
.stack_pp = NULL,
|
||||
.alloc_pp = NULL,
|
||||
.buffer_list = NULL,
|
||||
.prev_sigsegv_sa = { .sa_sigaction = NULL, .sa_flags = 0 },
|
||||
.prev_sigbus_sa = { .sa_sigaction = NULL, .sa_flags = 0 },
|
||||
};
|
||||
|
||||
static guard_result
|
||||
_prot_page(void *address, int prot)
|
||||
|
Loading…
Reference in New Issue
Block a user