examples/bond: fix build with clang
[dpdk.git] / lib / librte_pmd_ring / rte_eth_ring.h
index ef29344..d36489a 100644 (file)
@@ -40,7 +40,8 @@ extern "C" {
 
 #include <rte_ring.h>
 
-int rte_eth_from_rings(struct rte_ring * const rx_queues[],
+int rte_eth_from_rings(const char *name,
+               struct rte_ring * const rx_queues[],
                const unsigned nb_rx_queues,
                struct rte_ring *const tx_queues[],
                const unsigned nb_tx_queues,
@@ -49,12 +50,6 @@ int rte_eth_from_rings(struct rte_ring * const rx_queues[],
 int rte_eth_ring_pair_create(const char *name, const unsigned numa_node);
 int rte_eth_ring_pair_attach(const char *name, const unsigned numa_node);
 
-/**
- * For use by test apps only. Called as part of EAL init to set up any dummy NICs
- * configured on command line.
- */
-int rte_pmd_ring_devinit(const char *name, const char *params);
-
 #ifdef __cplusplus
 }
 #endif