Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
d7cf1b26
Commit
d7cf1b26
authored
Sep 24, 2021
by
Mark Johnston
Browse files
tests/sys/sys: Raise WARNS
MFC after: 1 week Sponsored by: The FreeBSD Foundation
parent
9cce0ef9
Changes
4
Hide whitespace changes
Inline
Side-by-side
tests/sys/sys/Makefile
View file @
d7cf1b26
...
...
@@ -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 @
d7cf1b26
...
...
@@ -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 @
d7cf1b26
...
...
@@ -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 @
d7cf1b26
...
...
@@ -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
)
...
...
HardenedBSD Services
@hardenedbsd-services
mentioned in commit
8b1039f9
·
Oct 01, 2021
mentioned in commit
8b1039f9
mentioned in commit 8b1039f918658103bdc083c65b393dcc3c15e823
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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