summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikel Astiz <mikel.astiz@bmw-carit.de>2012-10-19 17:39:27 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-10-25 13:36:08 +0300
commitb9c588d5672ca041ff6d80ed957ea6eac123d676 (patch)
treee8a40d94c895e12531f24f83410150af717176b4
parent60be28030fac9f606f5f1de07e4830af202c3414 (diff)
input: Trivial function rename
Use the local_ name prefix for functions implementing the D-Bus API.
-rw-r--r--profiles/input/device.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 9dd8002d..7df92e29 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -700,7 +700,7 @@ static DBusMessage *local_connect(DBusConnection *conn, DBusMessage *msg,
return NULL;
}
-static DBusMessage *input_device_disconnect(DBusConnection *conn,
+static DBusMessage *local_disconnect(DBusConnection *conn,
DBusMessage *msg, void *data)
{
struct input_device *idev = data;
@@ -742,7 +742,7 @@ static const GDBusMethodTable device_methods[] = {
{ GDBUS_ASYNC_METHOD("Connect",
NULL, NULL, local_connect) },
{ GDBUS_METHOD("Disconnect",
- NULL, NULL, input_device_disconnect) },
+ NULL, NULL, local_disconnect) },
{ }
};