Enable -Wextra in tests.

This commit is contained in:
4lDO2
2023-11-12 12:07:49 +01:00
parent c76a12347f
commit 5f929ed51e
26 changed files with 158 additions and 132 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0]))
@@ -12,7 +13,7 @@ int cmpfunc (const void * a_ptr, const void * b_ptr) {
}
int main () {
int i;
size_t i;
printf("Before: ");
for(i = 0; i < ARRAY_SIZE(values); i++) {