diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-10-12 17:29:54 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-10-15 02:10:36 +0200 |
commit | 55cdcc159bee0d5a750ee43deba246a711a04ed1 (patch) | |
tree | a4aa7832dc12e0555a9682fd60402f60fde3a3a2 | |
parent | abbe01af59549445fd4995fc3e724caae23dbe27 (diff) | |
download | passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.gz passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.bz2 passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.lz passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.xz passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.tar.zst passt-55cdcc159bee0d5a750ee43deba246a711a04ed1.zip |
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>
-rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, |