diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 21:20:56 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-04 21:20:56 +0200 |
commit | 0192a461e37cef7e2d95d576b14e0cda277fa25d (patch) | |
tree | 7ea8a9e91bc0917616ed609e9da185822480b102 /common | |
parent | 855aecc7b576a5741df3c685ccfa2b3b11cd13ce (diff) |
Move error_not_supported where it is actually used
Diffstat (limited to 'common')
-rw-r--r-- | common/error.c | 13 | ||||
-rw-r--r-- | common/error.h | 3 |
2 files changed, 0 insertions, 16 deletions
diff --git a/common/error.c b/common/error.c index 3e97b2a9..e4d464ac 100644 --- a/common/error.c +++ b/common/error.c @@ -55,19 +55,6 @@ DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn, DBusMess } /** - org.bluez.Error.NotSupported: - - The remote device does not support the expected feature. - Examples of use: trying to connect to audio device while audio is not - declared in device sdp record. -*/ -DBusHandlerResult error_not_supported(DBusConnection *conn, DBusMessage *msg) -{ - return error_common_reply(conn, msg, ERROR_INTERFACE ".NotSupported", - "Not supported"); -} - -/** org.bluez.Error.Canceled: The operation was canceled. diff --git a/common/error.h b/common/error.h index 4d4236b8..b8494dfe 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_not_supported(DBusConnection *conn, - DBusMessage *msg); - DBusHandlerResult error_canceled(DBusConnection *conn, DBusMessage *msg, const char *str); |