diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/error.c | 13 | ||||
| -rw-r--r-- | common/error.h | 4 | 
2 files changed, 0 insertions, 17 deletions
| diff --git a/common/error.c b/common/error.c index d6f321bd..825cde4f 100644 --- a/common/error.c +++ b/common/error.c @@ -35,19 +35,6 @@  #include "error.h" -/** -  org.bluez.Error.ConnectionAttemptFailed: - -  An unexpected error (other than DeviceUnreachable) error has occured while -  attempting a connection to a device -*/ -DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn, DBusMessage *msg, int err) -{ -	return error_common_reply(conn, msg, -			ERROR_INTERFACE ".ConnectionAttemptFailed", -			err > 0 ? strerror(err) : "Connection attempt failed"); -} -  /* Helper function - internal use only */  DBusHandlerResult error_common_reply(DBusConnection *conn, DBusMessage *msg,  					const char *name, const char *descr) diff --git a/common/error.h b/common/error.h index 63ce2069..644e385f 100644 --- a/common/error.h +++ b/common/error.h @@ -27,9 +27,5 @@  #define ERROR_INTERFACE "org.bluez.Error" -DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn, -							DBusMessage *msg, -							int err); -  DBusHandlerResult error_common_reply(DBusConnection *conn, DBusMessage *msg,  					const char *name, const char *descr); | 
