git: 50c272dd2e74 - stable/13 - bhyve basl: Use GCC pragmas.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 26 Jan 2023 20:27:10 UTC
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=50c272dd2e74b8c6275a4285b8a0bbfb9775bb20

commit 50c272dd2e74b8c6275a4285b8a0bbfb9775bb20
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-11-29 01:07:39 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-01-26 20:23:37 +0000

    bhyve basl: Use GCC pragmas.
    
    These work with both clang and GCC.
    
    Reviewed by:    corvink, markj
    Differential Revision:  https://reviews.freebsd.org/D37484
    
    (cherry picked from commit 0acf696151e3c43967988c8271aa27683566a755)
---
 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 6f7815c13cf6..c7fdd783a9d5 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