enable warnings and apply a dash of knfmt
authoranton <anton@openbsd.org>
Mon, 15 Jul 2024 05:24:02 +0000 (05:24 +0000)
committeranton <anton@openbsd.org>
Mon, 15 Jul 2024 05:24:02 +0000 (05:24 +0000)
regress/lib/libc/elf_aux_info/Makefile
regress/lib/libc/elf_aux_info/elf_aux_info.c

index 2885fb1..58dc58a 100644 (file)
@@ -1,3 +1,5 @@
 PROG=elf_aux_info
 
+WARNINGS=yes
+
 .include <bsd.regress.mk>
index 481085d..14870e2 100644 (file)
@@ -10,7 +10,6 @@ main(void)
        int a;
        unsigned long b;
 
-
        /* Should always succeed */
        if (elf_aux_info(AT_PAGESZ, &a, sizeof(a)))
                ret |= 1;