Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
8b1039f9
Commit
8b1039f9
authored
Sep 24, 2021
by
Mark Johnston
Browse files
tests/sys/sys: Raise WARNS
Sponsored by: The FreeBSD Foundation (cherry picked from commit
d7cf1b26
)
parent
b91af716
Changes
4
Hide whitespace changes
Inline
Side-by-side
tests/sys/sys/Makefile
View file @
8b1039f9
...
...
@@ -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
...
...
tests/sys/sys/arb_test.c
View file @
8b1039f9
...
...
@@ -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
)
...
...
tests/sys/sys/rb_test.c
View file @
8b1039f9
...
...
@@ -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
)
...
...
tests/sys/sys/splay_test.c
View file @
8b1039f9
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment