git: 0acf696151e3 - main - bhyve basl: Use GCC pragmas.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 29 Nov 2022 01:10:53 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=0acf696151e3c43967988c8271aa27683566a755

commit 0acf696151e3c43967988c8271aa27683566a755
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-11-29 01:07:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-11-29 01:07:39 +0000

    bhyve basl: Use GCC pragmas.
    
    These work with both clang and GCC.
    
    Reviewed by:    corvink, markj
    Differential Revision:  https://reviews.freebsd.org/D37484
---
 usr.sbin/bhyve/basl.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/bhyve/basl.h b/usr.sbin/bhyve/basl.h
index 71b3e6dc07fc..78beba1bcad1 100644
--- a/usr.sbin/bhyve/basl.h
+++ b/usr.sbin/bhyve/basl.h
@@ -6,10 +6,10 @@
 
 #pragma once
 
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wunused-parameter"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
 #include <contrib/dev/acpica/include/acpi.h>
-#pragma clang diagnostic pop
+#pragma GCC diagnostic pop
 
 #define ACPI_GAS_ACCESS_WIDTH_LEGACY 0
 #define ACPI_GAS_ACCESS_WIDTH_UNDEFINED 0