From: David Marchand Date: Fri, 7 Nov 2014 06:26:20 +0000 (+0100) Subject: eal: fix C++ compilation after headers rework X-Git-Tag: spdx-start~10175 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1c1dc182da4fe345240f431f807b62ddb49ca08e;p=dpdk.git eal: fix C++ compilation after headers rework Following the big headers rework, all C++ stuff has moved to arch-specific headers. The generic headers should not contain this so that this is done only once. There was a remaining #ifdef __cplusplus in "eal: split CPU cycle operation to architecture specific" (fa4001c30ee9). Reported-by: Keunhong Lee Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- diff --git a/lib/librte_eal/common/include/generic/rte_cycles.h b/lib/librte_eal/common/include/generic/rte_cycles.h index c42b90b028..7700f411b5 100644 --- a/lib/librte_eal/common/include/generic/rte_cycles.h +++ b/lib/librte_eal/common/include/generic/rte_cycles.h @@ -202,8 +202,4 @@ rte_delay_ms(unsigned ms) rte_delay_us(ms * 1000); } -#ifdef __cplusplus -} -#endif - #endif /* _RTE_CYCLES_H_ */