git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccd872a
)
net/pcap: make const array static
author
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 26 Aug 2016 11:17:49 +0000
(12:17 +0100)
committer
Bruce Richardson
<bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000
(12:27 +0200)
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/pcap/rte_eth_pcap.c
patch
|
blob
|
history
diff --git
a/drivers/net/pcap/rte_eth_pcap.c
b/drivers/net/pcap/rte_eth_pcap.c
index
4575ba5
..
652249c
100644
(file)
--- 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,