projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a183a33
)
Build _dbus_string_starts_with_c_str even if not building tests
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Tue, 27 Mar 2012 16:19:44 +0000
(17:19 +0100)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Tue, 27 Mar 2012 16:19:44 +0000
(17:19 +0100)
It's used by the own_prefix implementation.
dbus/dbus-string.c
patch
|
blob
|
history
diff --git
a/dbus/dbus-string.c
b/dbus/dbus-string.c
index
85738c2
..
9accdb1
100644
(file)
--- a/
dbus/dbus-string.c
+++ b/
dbus/dbus-string.c
@@
-2182,7
+2182,6
@@
_dbus_string_equal_c_str (const DBusString *a,
return TRUE;
}
-#ifdef DBUS_BUILD_TESTS
/**
* Checks whether a string starts with the given C string.
*
@@
-2218,7
+2217,6
@@
_dbus_string_starts_with_c_str (const DBusString *a,
else
return FALSE;
}
-#endif /* DBUS_BUILD_TESTS */
/**
* Appends a two-character hex digit to a string, where the hex digit