summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/error.c12
-rw-r--r--common/error.h3
2 files changed, 0 insertions, 15 deletions
diff --git a/common/error.c b/common/error.c
index e4d464ac..00fa9e36 100644
--- a/common/error.c
+++ b/common/error.c
@@ -55,18 +55,6 @@ DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn, DBusMess
}
/**
- org.bluez.Error.Canceled:
-
- The operation was canceled.
- Examples of use : autorization process canceled, connection canceled
-*/
-DBusHandlerResult error_canceled(DBusConnection *conn, DBusMessage *msg,
- const char *str)
-{
- return error_common_reply(conn, msg, ERROR_INTERFACE ".Canceled", str);
-}
-
-/**
org.bluez.Error.Failed:
This is a the most generic error.
diff --git a/common/error.h b/common/error.h
index b8494dfe..478b0bd5 100644
--- a/common/error.h
+++ b/common/error.h
@@ -33,9 +33,6 @@ DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn,
DBusMessage *msg,
int err);
-DBusHandlerResult error_canceled(DBusConnection *conn, DBusMessage *msg,
- const char *str);
-
DBusHandlerResult error_failed(DBusConnection *conn, DBusMessage *msg,
const char *desc);