summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-08-04 21:33:25 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-08-04 21:33:25 +0200
commitea35b0481357b3c7e12db6b1f19c9c35a179ce83 (patch)
tree6886eccd2a5f0228fa2ee083ae2f2f7660e7a087 /common
parent9d517bfd0fd5c950b7d0555979a15bf8bff6f481 (diff)
Move create_errno_message to appropiate place
Diffstat (limited to 'common')
-rw-r--r--common/error.c6
-rw-r--r--common/error.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/common/error.c b/common/error.c
index 00fa9e36..5b0fe36a 100644
--- a/common/error.c
+++ b/common/error.c
@@ -35,12 +35,6 @@
#include "error.h"
-DBusMessage *create_errno_message(DBusMessage *msg, int err)
-{
- return g_dbus_create_error(msg, ERROR_INTERFACE ".Failed",
- strerror(err));
-}
-
/**
org.bluez.Error.ConnectionAttemptFailed:
diff --git a/common/error.h b/common/error.h
index 478b0bd5..4182cfe7 100644
--- a/common/error.h
+++ b/common/error.h
@@ -27,8 +27,6 @@
#define ERROR_INTERFACE "org.bluez.Error"
-DBusMessage *create_errno_message(DBusMessage *msg, int err);
-
DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn,
DBusMessage *msg,
int err);