summaryrefslogtreecommitdiffstats
path: root/common/error.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-04 21:39:10 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-04 21:39:10 +0200
commit1f57429a07bbe7021889d9cfad6f4aa270d1d2c2 (patch)
treeba00bf83186eb814f3a8c7b7778932a3f8ee6665 /common/error.c
parentea35b0481357b3c7e12db6b1f19c9c35a179ce83 (diff)
Move error_failed to its usage places
Diffstat (limited to 'common/error.c')
-rw-r--r--common/error.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/common/error.c b/common/error.c
index 5b0fe36a..d6f321bd 100644
--- a/common/error.c
+++ b/common/error.c
@@ -48,18 +48,6 @@ DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn, DBusMess
err > 0 ? strerror(err) : "Connection attempt failed");
}
-/**
- org.bluez.Error.Failed:
-
- This is a the most generic error.
- desc filed is MANDATORY
-*/
-DBusHandlerResult error_failed(DBusConnection *conn, DBusMessage *msg,
- const char * desc)
-{
- return error_common_reply(conn, msg, ERROR_INTERFACE ".Failed", desc);
-}
-
/* Helper function - internal use only */
DBusHandlerResult error_common_reply(DBusConnection *conn, DBusMessage *msg,
const char *name, const char *descr)