git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace zero-length arrays with flexible ones
[dpdk.git]
/
lib
/
table
/
rte_table_hash_key8.c
diff --git
a/lib/table/rte_table_hash_key8.c
b/lib/table/rte_table_hash_key8.c
index
7779a9d
..
035d242
100644
(file)
--- a/
lib/table/rte_table_hash_key8.c
+++ b/
lib/table/rte_table_hash_key8.c
@@
-40,7
+40,7
@@
struct rte_bucket_4_8 {
uint64_t key[4];
/* Cache line 1 */
- uint8_t data[
0
];
+ uint8_t data[];
};
#else
struct rte_bucket_4_8 {
@@
-54,7
+54,7
@@
struct rte_bucket_4_8 {
uint64_t key[4];
/* Cache line 1 */
- uint8_t data[
0
];
+ uint8_t data[];
};
#endif