summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2024-07-15 05:24:03 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2024-07-15 05:24:03 +0000
commit24328e348637410cc5518c855b35a8f7462bac98 (patch)
treed488b033f9e45eb040a382bbe15336c20889d2e2 /regress
parentd0e7012fad18cf640c4cc7ef39469c0f85347e94 (diff)
enable warnings and apply a dash of knfmt
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libc/elf_aux_info/Makefile2
-rw-r--r--regress/lib/libc/elf_aux_info/elf_aux_info.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libc/elf_aux_info/Makefile b/regress/lib/libc/elf_aux_info/Makefile
index 2885fb18512..58dc58a8302 100644
--- a/regress/lib/libc/elf_aux_info/Makefile
+++ b/regress/lib/libc/elf_aux_info/Makefile
@@ -1,3 +1,5 @@
PROG=elf_aux_info
+WARNINGS=yes
+
.include <bsd.regress.mk>
diff --git a/regress/lib/libc/elf_aux_info/elf_aux_info.c b/regress/lib/libc/elf_aux_info/elf_aux_info.c
index 481085d6d97..14870e253c0 100644
--- a/regress/lib/libc/elf_aux_info/elf_aux_info.c
+++ b/regress/lib/libc/elf_aux_info/elf_aux_info.c
@@ -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;