null: fix build with icc
authorTetsuya Mukawa <mukawa@igel.co.jp>
Fri, 27 Feb 2015 05:19:35 +0000 (14:19 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Feb 2015 23:19:46 +0000 (00:19 +0100)
This patch fixes following errors with icc.
 rte_eth_null.c(47): error #83:
     type qualifier specified more than once

Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_pmd_null/rte_eth_null.c

index bb10276..3ef5842 100644 (file)
@@ -44,7 +44,7 @@
 static unsigned default_packet_size = 64;
 static unsigned default_packet_copy;
 
-static const char const *valid_arguments[] = {
+static const char *valid_arguments[] = {
        ETH_NULL_PACKET_SIZE_ARG,
        ETH_NULL_PACKET_COPY_ARG,
        NULL