tests/sys/sys: Raise WARNS
MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
9cce0ef95a
commit
d7cf1b262f
@ -6,8 +6,6 @@ TESTSDIR= ${TESTSBASE}/sys/sys
|
||||
|
||||
ATF_TESTS_C= arb_test bitstring_test qmath_test rb_test splay_test
|
||||
|
||||
WARNS?= 5
|
||||
|
||||
.if ${COMPILER_TYPE} == "gcc"
|
||||
CFLAGS.bitstring_test= -fno-strict-overflow
|
||||
.endif
|
||||
|
@ -41,7 +41,7 @@ struct node {
|
||||
int key;
|
||||
};
|
||||
|
||||
ARB32_HEAD(tree, node) *root;
|
||||
static ARB32_HEAD(tree, node) *root;
|
||||
|
||||
static int
|
||||
compare(const struct node *a, const struct node *b)
|
||||
|
@ -39,7 +39,7 @@ struct node {
|
||||
int key;
|
||||
};
|
||||
|
||||
RB_HEAD(tree, node) root;
|
||||
static RB_HEAD(tree, node) root;
|
||||
|
||||
static int
|
||||
compare(struct node *a, struct node *b)
|
||||
|
@ -39,7 +39,7 @@ struct node {
|
||||
int key;
|
||||
};
|
||||
|
||||
SPLAY_HEAD(tree, node) root;
|
||||
static SPLAY_HEAD(tree, node) root;
|
||||
|
||||
static int
|
||||
compare(struct node *a, struct node *b)
|
||||
|
Loading…
Reference in New Issue
Block a user