diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | dbus/dbus-sysdeps.c | 3 |
2 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2005-07-30 Havoc Pennington <hp@redhat.com> + + * dbus/dbus-sysdeps.c (_dbus_string_parse_uint): remove #ifdef + DBUS_BUILD_TESTS since it's now used in production code + 2005-07-29 Havoc Pennington <hp@redhat.com> * test/glib/test-profile.c (write_junk): initialize the junk diff --git a/dbus/dbus-sysdeps.c b/dbus/dbus-sysdeps.c index 1d0a64ac..749059cb 100644 --- a/dbus/dbus-sysdeps.c +++ b/dbus/dbus-sysdeps.c @@ -1193,8 +1193,6 @@ _dbus_check_dir_is_private_to_user (DBusString *dir, DBusError *error) return TRUE; } -#ifdef DBUS_BUILD_TESTS -/* Not currently used, so only built when tests are enabled */ /** * Parses an unsigned integer contained in a DBusString. Either return * parameter may be #NULL if you aren't interested in it. The integer @@ -1233,7 +1231,6 @@ _dbus_string_parse_uint (const DBusString *str, return TRUE; } -#endif /* DBUS_BUILD_TESTS */ #ifdef DBUS_BUILD_TESTS static dbus_bool_t |