git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: remove C++ include guard from private headers
[dpdk.git]
/
lib
/
eal
/
common
/
malloc_heap.h
diff --git
a/lib/eal/common/malloc_heap.h
b/lib/eal/common/malloc_heap.h
index
772736b
..
3a6ec6e
100644
(file)
--- 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;
char name[RTE_HEAP_NAME_MAX_LEN];
} __rte_cache_aligned;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
static inline unsigned
malloc_get_numa_socket(void)
{
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);
int
rte_eal_malloc_heap_init(void);
-#ifdef __cplusplus
-}
-#endif
-
#endif /* MALLOC_HEAP_H_ */
#endif /* MALLOC_HEAP_H_ */