1
0
mirror of https://passt.top/passt synced 2024-06-30 15:02:40 +00:00

util.h: Add missing gcc pragma push before pragma pop

While building with clang:

  ./util.h:176:24: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
Stefano Brivio 2022-10-12 17:29:54 +02:00
parent abbe01af59
commit 55cdcc159b

1
util.h
View File

@ -165,6 +165,7 @@
struct ctx;
struct ipv6hdr {
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#if __BYTE_ORDER == __BIG_ENDIAN
uint8_t version:4,