diff options
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/manager.c b/src/manager.c index 2caaadf7..7dfec606 100644 --- a/src/manager.c +++ b/src/manager.c @@ -32,7 +32,6 @@ #include <unistd.h> #include <sys/ioctl.h> #include <sys/socket.h> -#include <sys/stat.h> #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> @@ -100,20 +99,6 @@ static inline DBusMessage *no_such_adapter(DBusMessage *msg) "No such adapter"); } -static inline DBusMessage *no_such_service(DBusMessage *msg) -{ - return g_dbus_create_error(msg, - ERROR_INTERFACE ".NoSuchService", - "No such service"); -} - -static inline DBusMessage *failed_strerror(DBusMessage *msg, int err) -{ - return g_dbus_create_error(msg, - ERROR_INTERFACE ".Failed", - strerror(err)); -} - static int find_by_address(const char *str) { struct hci_dev_list_req *dl; |