diff options
author | Havoc Pennington <hp@redhat.com> | 2005-01-16 22:13:35 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2005-01-16 22:13:35 +0000 |
commit | 7f9721a6d36697a57170c604aa845af3531bd157 (patch) | |
tree | 4c621bf9671e8c855803bba07ff2d6d87b9baf3d /dbus/dbus-memory.c | |
parent | 31988af4089f3793940417535f8eabaae1ac26c8 (diff) |
2005-01-16 Havoc Pennington <hp@redhat.com>
* test/unused-code-gc.py: hacky script to find code that's used
only by the bus (not libdbus) or used only by tests or not used at
all. It has some false alarms, but looks like we can clean up a
lot of size from libdbus.
* dbus/dbus-sysdeps.c, dbus/dbus-sysdeps-utils.c,
dbus/Makefile.am: initially move 10K of binary size out of libdbus
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. |