OSDN Git Service

unit: Remove not needed functions from test-sdp
authorSzymon Janc <szymon.janc@tieto.com>
Thu, 19 Sep 2013 14:00:45 +0000 (16:00 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 23 Sep 2013 07:46:37 +0000 (10:46 +0300)
SDP code no longer depends on adapter code.

unit/test-sdp.c

index 5aa6948..6d699e2 100644 (file)
@@ -134,35 +134,6 @@ void btd_debug(const char *format, ...)
 {
 }
 
-struct btd_adapter;
-
-typedef void (*adapter_cb) (struct btd_adapter *adapter, gpointer user_data);
-
-void adapter_foreach(adapter_cb func, gpointer user_data);
-
-void adapter_foreach(adapter_cb func, gpointer user_data)
-{
-}
-
-struct btd_adapter *adapter_find(const bdaddr_t *sba);
-
-struct btd_adapter *adapter_find(const bdaddr_t *sba)
-{
-       return NULL;
-}
-
-void adapter_service_insert(struct btd_adapter *adapter, void *rec);
-
-void adapter_service_insert(struct btd_adapter *adapter, void *rec)
-{
-}
-
-void adapter_service_remove(struct btd_adapter *adapter, void *rec);
-
-void adapter_service_remove(struct btd_adapter *adapter, void *rec)
-{
-}
-
 static void context_quit(struct context *context)
 {
        g_main_loop_quit(context->main_loop);