]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/linuxapp/eal/include/exec-env/rte_kni_common.h
lib: use C99 syntax for zero-size arrays
[dpdk.git] / lib / librte_eal / linuxapp / eal / include / exec-env / rte_kni_common.h
index 2acdfd9bc5be316c9854e52cbc47d4d28e5eb900..7f458a3608649ea4a1341aca098006066f406985 100644 (file)
@@ -102,7 +102,7 @@ struct rte_kni_fifo {
        volatile unsigned read;      /**< Next position to be read */
        unsigned len;                /**< Circular buffer length */
        unsigned elem_size;          /**< Pointer size - for 32/64 bit OS */
-       void * volatile buffer[0];   /**< The buffer contains mbuf pointers */
+       void *volatile buffer[];     /**< The buffer contains mbuf pointers */
 };
 
 /*