diff options
author | Jason Evans <jasone@canonware.com> | 2016-05-11 23:14:20 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2016-05-11 23:14:20 (GMT) |
commit | 0fc1317fc6989e1090c5bcf1713b6a7482110ccc (patch) | |
tree | e9436108ef70242b9cb4b6f132975bc4ce24bcfe /src/witness.c | |
parent | 73d3d58dc234315214c0d73d6badd4fdc53cbeff (diff) | |
download | jemalloc-0fc1317fc6989e1090c5bcf1713b6a7482110ccc.zip jemalloc-0fc1317fc6989e1090c5bcf1713b6a7482110ccc.tar.gz jemalloc-0fc1317fc6989e1090c5bcf1713b6a7482110ccc.tar.bz2 |
Mangle tested functions as n_witness_* rather than witness_*_impl.
Diffstat (limited to 'src/witness.c')
-rw-r--r-- | src/witness.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/witness.c b/src/witness.c index 2431203..23753f2 100644 --- a/src/witness.c +++ b/src/witness.c @@ -13,7 +13,7 @@ witness_init(witness_t *witness, const char *name, witness_rank_t rank, #ifdef JEMALLOC_JET #undef witness_lock_error -#define witness_lock_error JEMALLOC_N(witness_lock_error_impl) +#define witness_lock_error JEMALLOC_N(n_witness_lock_error) #endif void witness_lock_error(const witness_list_t *witnesses, const witness_t *witness) @@ -30,12 +30,12 @@ witness_lock_error(const witness_list_t *witnesses, const witness_t *witness) #ifdef JEMALLOC_JET #undef witness_lock_error #define witness_lock_error JEMALLOC_N(witness_lock_error) -witness_lock_error_t *witness_lock_error = JEMALLOC_N(witness_lock_error_impl); +witness_lock_error_t *witness_lock_error = JEMALLOC_N(n_witness_lock_error); #endif #ifdef JEMALLOC_JET #undef witness_owner_error -#define witness_owner_error JEMALLOC_N(witness_owner_error_impl) +#define witness_owner_error JEMALLOC_N(n_witness_owner_error) #endif void witness_owner_error(const witness_t *witness) @@ -48,13 +48,12 @@ witness_owner_error(const witness_t *witness) #ifdef JEMALLOC_JET #undef witness_owner_error #define witness_owner_error JEMALLOC_N(witness_owner_error) -witness_owner_error_t *witness_owner_error = - JEMALLOC_N(witness_owner_error_impl); +witness_owner_error_t *witness_owner_error = JEMALLOC_N(n_witness_owner_error); #endif #ifdef JEMALLOC_JET #undef witness_not_owner_error -#define witness_not_owner_error JEMALLOC_N(witness_not_owner_error_impl) +#define witness_not_owner_error JEMALLOC_N(n_witness_not_owner_error) #endif void witness_not_owner_error(const witness_t *witness) @@ -68,12 +67,12 @@ witness_not_owner_error(const witness_t *witness) #undef witness_not_owner_error #define witness_not_owner_error JEMALLOC_N(witness_not_owner_error) witness_not_owner_error_t *witness_not_owner_error = - JEMALLOC_N(witness_not_owner_error_impl); + JEMALLOC_N(n_witness_not_owner_error); #endif #ifdef JEMALLOC_JET #undef witness_lockless_error -#define witness_lockless_error JEMALLOC_N(witness_lockless_error_impl) +#define witness_lockless_error JEMALLOC_N(n_witness_lockless_error) #endif void witness_lockless_error(const witness_list_t *witnesses) @@ -91,7 +90,7 @@ witness_lockless_error(const witness_list_t *witnesses) #undef witness_lockless_error #define witness_lockless_error JEMALLOC_N(witness_lockless_error) witness_lockless_error_t *witness_lockless_error = - JEMALLOC_N(witness_lockless_error_impl); + JEMALLOC_N(n_witness_lockless_error); #endif void |