Enforce -Werror in tests.

This commit is contained in:
4lDO2
2023-11-12 11:45:15 +01:00
parent 48f7ca7fe0
commit c76a12347f
8 changed files with 32 additions and 49 deletions
+2 -2
View File
@@ -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);
+4 -4
View File
@@ -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;