mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-11 02:01:02 +03:00
De-export test-only helpers via JET_EXTERN / #ifdef JEMALLOC_JET; declare in unit tests, not headers
This commit is contained in:
parent
6db4d0c468
commit
4de3a4c3d1
46 changed files with 123 additions and 59 deletions
|
|
@ -1,5 +1,8 @@
|
|||
#include "test/jemalloc_test.h"
|
||||
|
||||
extern uint64_t nstime_ms(const nstime_t *time);
|
||||
extern void nstime_isubtract(nstime_t *time, uint64_t subtrahend);
|
||||
|
||||
#define BILLION UINT64_C(1000000000)
|
||||
|
||||
TEST_BEGIN(test_nstime_init) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue