]> git.droids-corp.org - dpdk.git/commitdiff
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 bb102761fced49a71dbab976192588bb9ca0695c..3ef58424e80401d506395382d4c471ad26a64b12 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