From 24328e348637410cc5518c855b35a8f7462bac98 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Mon, 15 Jul 2024 05:24:03 +0000 Subject: enable warnings and apply a dash of knfmt --- regress/lib/libc/elf_aux_info/Makefile | 2 ++ regress/lib/libc/elf_aux_info/elf_aux_info.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'regress') 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 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; -- cgit v1.2.3