diff options
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/telephony.c | 44 | ||||
-rw-r--r-- | src/telephony.h | 26 |
3 files changed, 1 insertions, 72 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 409b300b..52d2a9f5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -21,8 +21,7 @@ bluetoothd_SOURCES = main.c hcid.h sdpd.h \ manager.h manager.c error.h error.c \ adapter.h adapter.c device.h device.c plugin.h plugin.c \ dbus-common.c dbus-common.h dbus-hci.h dbus-hci.c \ - dbus-database.c dbus-database.h \ - telephony.h telephony.c agent.h agent.c + dbus-database.c dbus-database.h agent.h agent.c bluetoothd_LDADD = $(top_builddir)/common/libhelper.a \ @GDBUS_LIBS@ @GMODULE_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@ diff --git a/src/telephony.c b/src/telephony.c deleted file mode 100644 index f68b97de..00000000 --- a/src/telephony.c +++ /dev/null @@ -1,44 +0,0 @@ -/* - * - * BlueZ - Bluetooth protocol stack for Linux - * - * Copyright (C) 2004-2008 Marcel Holtmann <marcel@holtmann.org> - * - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <glib.h> - -#include "telephony.h" - -static GSList *drivers = NULL; - -int bt_telephony_register_driver(struct bt_telephony_driver *driver) -{ - drivers = g_slist_append(drivers, driver); - - return 0; -} - -void bt_telephony_unregister_driver(struct bt_telephony_driver *driver) -{ - drivers = g_slist_remove(drivers, driver); -} diff --git a/src/telephony.h b/src/telephony.h deleted file mode 100644 index b360a621..00000000 --- a/src/telephony.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * - * BlueZ - Bluetooth protocol stack for Linux - * - * Copyright (C) 2004-2008 Marcel Holtmann <marcel@holtmann.org> - * - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - * - */ - -struct bt_telephony_driver { - const char *name; -}; |