We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226efec commit 6cb9430Copy full SHA for 6cb9430
tools/lib/bpf/zip.c
@@ -16,6 +16,10 @@
16
#include "libbpf_internal.h"
17
#include "zip.h"
18
19
+#pragma GCC diagnostic push
20
+#pragma GCC diagnostic ignored "-Wpacked"
21
+#pragma GCC diagnostic ignored "-Wattributes"
22
+
23
/* Specification of ZIP file format can be found here:
24
* https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT
25
* For a high level overview of the structure of a ZIP file see
@@ -119,6 +123,8 @@ struct local_file_header {
119
123
__u16 extra_field_length;
120
124
} __attribute__((packed));
121
125
126
+#pragma GCC diagnostic pop
127
122
128
struct zip_archive {
129
void *data;
130
__u32 size;
0 commit comments