git: 84944bf5e282 - stable/13 - acpidump: bump WARNS to 6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Apr 2024 08:13:42 UTC
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=84944bf5e282d5164c9ebadde8b570aa62642d67 commit 84944bf5e282d5164c9ebadde8b570aa62642d67 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-04-03 03:00:25 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-04-17 08:13:17 +0000 acpidump: bump WARNS to 6 (cherry picked from commit 29a6b72775eeed08a5ecb8f6c1b0c364196d73df) --- usr.sbin/acpi/acpidump/Makefile | 1 - usr.sbin/acpi/acpidump/acpidump.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/acpi/acpidump/Makefile b/usr.sbin/acpi/acpidump/Makefile index 9bd54a80f779..d0bb14284c1a 100644 --- a/usr.sbin/acpi/acpidump/Makefile +++ b/usr.sbin/acpi/acpidump/Makefile @@ -2,6 +2,5 @@ PROG= acpidump MAN= acpidump.8 SRCS= acpi.c acpi_user.c acpidump.c -WARNS?= 3 .include <bsd.prog.mk> diff --git a/usr.sbin/acpi/acpidump/acpidump.h b/usr.sbin/acpi/acpidump/acpidump.h index 857d230bb871..80f86a748d76 100644 --- a/usr.sbin/acpi/acpidump/acpidump.h +++ b/usr.sbin/acpi/acpidump/acpidump.h @@ -30,9 +30,12 @@ #ifndef _ACPIDUMP_H_ #define _ACPIDUMP_H_ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-parameter" #include <contrib/dev/acpica/include/acpi.h> #include <contrib/dev/acpica/include/acconfig.h> #include <contrib/dev/acpica/include/actbl1.h> +#pragma GCC diagnostic pop /* GAS address space ID constants. */ #define ACPI_GAS_MEMORY 0