Enabled -Wstrict-prototypes and fixed warnings.

This commit is contained in:
Qi Wang
2023-07-05 13:33:34 -07:00
committed by Qi Wang
parent ebd7e99f5c
commit 602edd7566
42 changed files with 82 additions and 80 deletions

View File

@@ -29,7 +29,7 @@ do_print(const char *name, size_t sz_bytes) {
}
int
main() {
main(void) {
#define P(type) \
do_print(#type, sizeof(type))
P(arena_t);