]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_sched/rte_bitmap.h
lib: use C99 syntax for zero-size arrays
[dpdk.git] / lib / librte_sched / rte_bitmap.h
index ff675c5803f1ce97661c595664522ff73783da81..1b5df0218ec11ef57ad18c4abbac31dd5e663ac8 100644 (file)
@@ -103,7 +103,7 @@ struct rte_bitmap {
        uint32_t go2;     /**< Bitmap scan: Go/stop condition for current array2 cache line */
 
        /* Storage space for array1 and array2 */
-       uint8_t memory[0];
+       uint8_t memory[];
 };
 
 static inline void