From: Ferruh Yigit Date: Fri, 26 Aug 2016 11:17:49 +0000 (+0100) Subject: net/pcap: make const array static X-Git-Tag: spdx-start~5863 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c18b5979bd2df88231d1c3323a278fe75828d3de;p=dpdk.git net/pcap: make const array static Signed-off-by: Ferruh Yigit Acked-by: Stephen Hemminger --- diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index 4575ba504b..652249c7a3 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/rte_eth_pcap.c @@ -106,7 +106,7 @@ struct pmd_devargs { } queue[RTE_PMD_PCAP_MAX_QUEUES]; }; -const char *valid_arguments[] = { +static const char *valid_arguments[] = { ETH_PCAP_RX_PCAP_ARG, ETH_PCAP_TX_PCAP_ARG, ETH_PCAP_RX_IFACE_ARG,