Move CPP_PROLOGUE and CPP_EPILOGUE to the .cpp

This lets us avoid having to specify them in every C file.
This commit is contained in:
David Goldblatt
2017-04-17 15:22:14 -07:00
committed by David Goldblatt
parent a01f993077
commit 22366518b7
5 changed files with 8 additions and 21 deletions

View File

@@ -3,8 +3,6 @@
#define ATOMIC_INLINE static inline
CPP_PROLOGUE
#if defined(JEMALLOC_GCC_ATOMIC_ATOMICS)
# include "jemalloc/internal/atomic_gcc_atomic.h"
#elif defined(JEMALLOC_GCC_SYNC_ATOMICS)
@@ -76,6 +74,4 @@ JEMALLOC_GENERATE_INT_ATOMICS(uint64_t, u64, 3)
#undef ATOMIC_INLINE
CPP_EPILOGUE
#endif /* JEMALLOC_INTERNAL_ATOMIC_H */