From eb1eb63264d56d5177111ace19a0f4334b6f6fd3 Mon Sep 17 00:00:00 2001 From: anton Date: Mon, 15 Jul 2024 05:24:02 +0000 Subject: [PATCH] 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(-) 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; -- 2.20.1