bond: fix headers for C++
Add missing declarations to rte_bond_8023ad.h. Remove 'extern "C"' declarations from bond private header file. Signed-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
This commit is contained in:
parent
7e60e08397
commit
ac1593b22a
@ -36,6 +36,10 @@
|
||||
|
||||
#include <rte_ether.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Actor/partner states
|
||||
*/
|
||||
@ -211,4 +215,8 @@ int
|
||||
rte_eth_bond_8023ad_slave_info(uint8_t port_id, uint8_t slave_id,
|
||||
struct rte_eth_bond_8023ad_slave_info *conf);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* RTE_ETH_BOND_8023AD_H_ */
|
||||
|
@ -34,10 +34,6 @@
|
||||
#ifndef _RTE_ETH_BOND_PRIVATE_H_
|
||||
#define _RTE_ETH_BOND_PRIVATE_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rte_ethdev.h>
|
||||
#include <rte_spinlock.h>
|
||||
|
||||
@ -276,8 +272,4 @@ int
|
||||
bond_ethdev_parse_time_ms_kvarg(const char *key __rte_unused,
|
||||
const char *value, void *extra_args);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user