mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
acpidump: bump WARNS to 6
and disable warnings about unused function args coming from the vendor acpi headers. Reviewed by: markj Sponsored by: Advanced Micro Devices (AMD) Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D44634
This commit is contained in:
parent
4262ad56a0
commit
29a6b72775
|
@ -2,6 +2,5 @@
|
|||
PROG= acpidump
|
||||
MAN= acpidump.8
|
||||
SRCS= acpi.c acpi_user.c acpidump.c
|
||||
WARNS?= 3
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue