Commit 8b1039f9 authored by Mark Johnston's avatar Mark Johnston
Browse files

tests/sys/sys: Raise WARNS

Sponsored by:	The FreeBSD Foundation

(cherry picked from commit d7cf1b26)
parent b91af716
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment