Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/eal/include/rte_bitops.h
Original file line number Diff line number Diff line change
Expand Up @@ -1341,6 +1341,7 @@ rte_log2_u64(uint64_t v)
#ifdef __cplusplus
}

extern "C++" {
/*
* Since C++ doesn't support generic selection (i.e., _Generic),
* function overloading is used instead. Such functions must be
Expand Down Expand Up @@ -1502,7 +1503,7 @@ __RTE_BIT_OVERLOAD_3R(atomic_, test_and_clear,, bool, unsigned int, nr, int, mem
__RTE_BIT_OVERLOAD_4R(atomic_, test_and_assign,, bool, unsigned int, nr, bool, value,
int, memory_order)
#endif

}
#endif

#endif /* _RTE_BITOPS_H_ */