diff options
Diffstat (limited to 'dbus/dbus-memory.c')
-rw-r--r-- | dbus/dbus-memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/dbus-memory.c b/dbus/dbus-memory.c index b28c6b11..c36601ae 100644 --- a/dbus/dbus-memory.c +++ b/dbus/dbus-memory.c @@ -231,6 +231,7 @@ _dbus_get_fail_alloc_failures (void) return n_failures_per_failure; } +#ifdef DBUS_BUILD_TESTS /** * Called when about to alloc some memory; if * it returns #TRUE, then the allocation should @@ -272,6 +273,7 @@ _dbus_decrement_fail_alloc_counter (void) return FALSE; } } +#endif /* DBUS_BUILD_TESTS */ /** * Get the number of outstanding malloc()'d blocks. |