From f5d0b128665665037a9059ed735d555e50738e28 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 22 Jun 2011 16:13:37 +0100 Subject: [PATCH 2/3] _dbus_marshal_header_test: remove stub --- dbus/dbus-marshal-header.c | 13 ------------- dbus/dbus-test.c | 2 -- dbus/dbus-test.h | 1 - 3 files changed, 0 insertions(+), 16 deletions(-) diff --git a/dbus/dbus-marshal-header.c b/dbus/dbus-marshal-header.c index 28984f4..4a763fb 100644 --- a/dbus/dbus-marshal-header.c +++ b/dbus/dbus-marshal-header.c @@ -1497,16 +1497,3 @@ _dbus_header_byteswap (DBusHeader *header, } /** @} */ - -#ifdef DBUS_BUILD_TESTS -#include "dbus-test.h" -#include - -dbus_bool_t -_dbus_marshal_header_test (void) -{ - - return TRUE; -} - -#endif /* DBUS_BUILD_TESTS */ diff --git a/dbus/dbus-test.c b/dbus/dbus-test.c index 1fbaf8c..0038483 100644 --- a/dbus/dbus-test.c +++ b/dbus/dbus-test.c @@ -150,8 +150,6 @@ dbus_internal_do_not_use_run_tests (const char *test_data_dir, const char *speci run_test ("marshal-validate", specific_test, _dbus_marshal_validate_test); - run_test ("marshal-header", specific_test, _dbus_marshal_header_test); - run_data_test ("message", specific_test, _dbus_message_test, test_data_dir); run_test ("hash", specific_test, _dbus_hash_test); diff --git a/dbus/dbus-test.h b/dbus/dbus-test.h index 982577f..7c921d4 100644 --- a/dbus/dbus-test.h +++ b/dbus/dbus-test.h @@ -33,7 +33,6 @@ dbus_bool_t _dbus_list_test (void); dbus_bool_t _dbus_marshal_test (void); dbus_bool_t _dbus_marshal_recursive_test (void); dbus_bool_t _dbus_marshal_byteswap_test (void); -dbus_bool_t _dbus_marshal_header_test (void); dbus_bool_t _dbus_marshal_validate_test (void); dbus_bool_t _dbus_misc_test (void); dbus_bool_t _dbus_signature_test (void); -- 1.7.6.3