]> git.ipfire.org Git - thirdparty/libbsd.git/commit
test: Import explicit_bzero and strtonum test cases from OpenBSD
authorGuillem Jover <guillem@hadrons.org>
Sat, 29 Jan 2022 13:48:22 +0000 (14:48 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sat, 29 Jan 2022 13:54:24 +0000 (14:54 +0100)
commitc9ff83687c3d100551d8cff967eb1541b187333d
tree48a704f139b4d4db4890d4906db0a24baee453a5
parent62e67bb49e569d5b5116400c1f970349acc244b3
test: Import explicit_bzero and strtonum test cases from OpenBSD

- Remove trailing spaces.
- Declare file-scope functions and variables static.
- Declare functions with a proper prototype.
- Do not mix declarations and code for C90 conformance.
- Do not compare size_t and ssize_t variables.
COPYING
test/.gitignore
test/Makefile.am
test/explicit_bzero.c [new file with mode: 0644]
test/strtonum.c [new file with mode: 0644]