diff options
author | Havoc Pennington <hp@redhat.com> | 2003-08-31 17:26:22 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-08-31 17:26:22 +0000 |
commit | fdb114e5cce2790fd3c68cfa13113c7b59b83e4e (patch) | |
tree | abf62353e1b91cd56c8d5d1618b0665d72262af3 /dbus | |
parent | 1dd3f1788f1b4c9af2f4fa744abdb7892d0a14b9 (diff) | |
download | dbus-fdb114e5cce2790fd3c68cfa13113c7b59b83e4e.tar.gz |
2003-08-31 Havoc Pennington <hp@pobox.com>
* fix build with --disable-tests
Diffstat (limited to 'dbus')
-rw-r--r-- | dbus/dbus-internals.c | 2 | ||||
-rw-r--r-- | dbus/dbus-marshal.c | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/dbus/dbus-internals.c b/dbus/dbus-internals.c index ccc11776..47a2b404 100644 --- a/dbus/dbus-internals.c +++ b/dbus/dbus-internals.c @@ -265,7 +265,6 @@ _dbus_strdup (const char *str) return copy; } -#ifdef DBUS_BUILD_TESTS /* memdup not used at the moment */ /** * Duplicates a block of memory. Returns * #NULL on failure. @@ -288,7 +287,6 @@ _dbus_memdup (const void *mem, return copy; } -#endif /** * Duplicates a string array. Result may be freed with diff --git a/dbus/dbus-marshal.c b/dbus/dbus-marshal.c index 6343056e..5297cb67 100644 --- a/dbus/dbus-marshal.c +++ b/dbus/dbus-marshal.c @@ -1906,12 +1906,6 @@ validate_array_data (const DBusString *str, * returns #TRUE if a valid arg begins at "pos" * * @todo security: need to audit this function. - * - * @todo For array types that can't be invalid, we should not - * walk the whole array validating it. e.g. just skip all the - * int values in an int array. (maybe this is already done now -hp) - * - * @todo support DBUS_TYPE_OBJECT_PATH * * @param str a string * @param byte_order the byte order to use |