Enforce -Werror in tests.
This commit is contained in:
@@ -17,8 +17,8 @@ after_includes = """
|
||||
void *arg; \
|
||||
void *prev; \
|
||||
} __relibc_internal_pthread_ll_entry = { \
|
||||
.routine = (routine), \
|
||||
.arg = (arg), \
|
||||
.routine = (void (*)(void *))(routine), \
|
||||
.arg = (void *)(arg), \
|
||||
}; \
|
||||
__relibc_internal_pthread_cleanup_push(&__relibc_internal_pthread_ll_entry);
|
||||
|
||||
|
||||
@@ -22,10 +22,10 @@ pub mod sys;
|
||||
|
||||
type SigSet = BitSet<[c_ulong; 1]>;
|
||||
|
||||
pub const SIG_DFL: usize = 0;
|
||||
pub const SIG_IGN: usize = 1;
|
||||
pub const SIG_ERR: isize = -1;
|
||||
pub const SIG_HOLD: isize = 2;
|
||||
pub(crate) const SIG_DFL: usize = 0;
|
||||
pub(crate) const SIG_IGN: usize = 1;
|
||||
pub(crate) const SIG_ERR: isize = -1;
|
||||
pub(crate) const SIG_HOLD: isize = 2;
|
||||
|
||||
pub const SIG_BLOCK: c_int = 0;
|
||||
pub const SIG_UNBLOCK: c_int = 1;
|
||||
|
||||
Reference in New Issue
Block a user