summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-07-30 15:17:29 +0000
committerHavoc Pennington <hp@redhat.com>2005-07-30 15:17:29 +0000
commitc2764e0b9f7bb73b54fa74b6cf569b0f077adb52 (patch)
tree5191699446c5fc28f64f275adb27656b25d712e7
parentba04a545aa4c2cf475a9fb52653a46a88d01c9d9 (diff)
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
-rw-r--r--ChangeLog5
-rw-r--r--dbus/dbus-sysdeps.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a53e5aa..9f693a21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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