]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf.h
lib: use C99 syntax for zero-size arrays
[dpdk.git] / lib / librte_mbuf / rte_mbuf.h
index 7ea66ed9c6b5a2c73ccc89dcba22d768169090b8..7ae65549069b95f192c14ee3b0fa3bd9b90d3612 100644 (file)
@@ -756,8 +756,11 @@ const char *rte_get_tx_ol_flag_name(uint64_t mask);
 
 /* define a set of marker types that can be used to refer to set points in the
  * mbuf */
+__extension__
 typedef void    *MARKER[0];   /**< generic marker for a point in a structure */
+__extension__
 typedef uint8_t  MARKER8[0];  /**< generic marker with 1B alignment */
+__extension__
 typedef uint64_t MARKER64[0]; /**< marker that allows us to overwrite 8 bytes
                                * with a single assignment */