aboutsummaryrefslogtreecommitdiffstats
path: root/tests/odirect_write.c
AgeCommit message (Collapse)AuthorLines
2023-11-20src|tests: Address warning -Wstrict-prototypesSebastian Pipping-1/+1
Symptom with Clang 15: > In file included from userinfo.c:20: > ./userinfo.h:38:27: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] > void invalidate_user_cache(); /* safe to call from signal handler */ > ^ > void > [many more]
2023-11-14odirect_write.c: Address warning -Wsign-compareSebastian Pipping-1/+1
Symptom was: > tests/odirect_write.c: In function ‘main’: > tests/odirect_write.c:58:17: error: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Werror=sign-compare] > 58 | if (res != buf_size) { > | ^~
2021-05-04Cleanups.Martin Pärtel-1/+1
2019-04-28Cleanups, tests and optimizations for #74.Martin Pärtel-0/+78