]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
nonce tcp support requires _dbus_string_equal_len also when build without tests
authorRalf Habacker <ralf.habacker@freenet.de>
Wed, 23 Dec 2009 09:40:48 +0000 (10:40 +0100)
committerRalf Habacker <ralf@s15291359.onlinehome-server.info>
Wed, 23 Dec 2009 09:43:53 +0000 (10:43 +0100)
dbus/dbus-string.c

index b7a8b992c035adb1fcde19eb96f27b576e3edb4f..d9cf18ed079af951890ea04ddc1cf4900024cdff 100644 (file)
@@ -2311,7 +2311,6 @@ _dbus_string_equal (const DBusString *a,
   return TRUE;
 }
 
-#ifdef DBUS_BUILD_TESTS
 /**
  * Tests two DBusString for equality up to the given length.
  * The strings may be shorter than the given length.
@@ -2356,7 +2355,6 @@ _dbus_string_equal_len (const DBusString *a,
 
   return TRUE;
 }
-#endif /* DBUS_BUILD_TESTS */
 
 /**
  * Tests two sub-parts of two DBusString for equality.  The specified