X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Feal%2Fcommon%2Fmalloc_heap.h;h=3a6ec6ecf03b7c10ebc03ce09fcc8e18f719f52e;hb=7a335720575507f55b723b1e10bfea7daeba1386;hp=772736b53f3cbe1ae19cdcdc5e094c843279fc67;hpb=03c841403b8326b9d9f0be830b29b9ebbd5728d2;p=dpdk.git diff --git a/lib/eal/common/malloc_heap.h b/lib/eal/common/malloc_heap.h index 772736b53f..3a6ec6ecf0 100644 --- a/lib/eal/common/malloc_heap.h +++ b/lib/eal/common/malloc_heap.h @@ -33,10 +33,6 @@ struct malloc_heap { char name[RTE_HEAP_NAME_MAX_LEN]; } __rte_cache_aligned; -#ifdef __cplusplus -extern "C" { -#endif - static inline unsigned malloc_get_numa_socket(void) { @@ -100,8 +96,4 @@ malloc_socket_to_heap_id(unsigned int socket_id); int rte_eal_malloc_heap_init(void); -#ifdef __cplusplus -} -#endif - #endif /* MALLOC_HEAP_H_ */