summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-19 02:19:57 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-19 02:19:57 +0000
commitdc2fadfce2466c28e87f701d995fda91ffda1e67 (patch)
treeb64e3e99e5c258b305d9cfe07b15f14f59274cbc
parentbb4707cb8caef490cb3ceb329269f8491d01cc6b (diff)
serial: removed unused error(NotAuthorized)
-rw-r--r--serial/error.c9
-rw-r--r--serial/error.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/serial/error.c b/serial/error.c
index c3ec9144..22be2b1e 100644
--- a/serial/error.c
+++ b/serial/error.c
@@ -88,15 +88,6 @@ DBusHandlerResult err_invalid_args(DBusConnection *conn,
SERIAL_ERROR_INTERFACE ".InvalidArguments", str));
}
-DBusHandlerResult err_not_authorized(DBusConnection *conn,
- DBusMessage *msg)
-{
- return send_message_and_unref(conn,
- dbus_message_new_error(msg,
- SERIAL_ERROR_INTERFACE ".NotAuthorized",
- "Owner not allowed"));
-}
-
DBusHandlerResult err_not_supported(DBusConnection *conn,
DBusMessage *msg)
{
diff --git a/serial/error.h b/serial/error.h
index d43d87ca..14301e95 100644
--- a/serial/error.h
+++ b/serial/error.h
@@ -37,7 +37,5 @@ DBusHandlerResult err_failed(DBusConnection *conn,
DBusMessage *msg, const char *str);
DBusHandlerResult err_invalid_args(DBusConnection *conn,
DBusMessage *msg, const char *str);
-DBusHandlerResult err_not_authorized(DBusConnection *conn,
- DBusMessage *msg);
DBusHandlerResult err_not_supported(DBusConnection *conn,
DBusMessage *msg);