summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-01-24 22:02:06 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-01-24 22:02:06 +0000
commitd8dc9633f58ace9d5931839d91a091e555c74075 (patch)
tree68684ec0638a4e03efb0517196b90e343bc3d355 /input
parent4c9496a0cbdef8804267d3c62b433e7b9ae5f4ab (diff)
Code cleanup(missing static modifier)
Diffstat (limited to 'input')
-rw-r--r--input/input-service.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/input/input-service.c b/input/input-service.c
index 8856e503..b2fecac3 100644
--- a/input/input-service.c
+++ b/input/input-service.c
@@ -83,7 +83,7 @@ struct pending_connect {
DBusMessage *msg;
};
-struct input_device *input_device_new(const char *addr)
+static struct input_device *input_device_new(const char *addr)
{
struct input_device *idev;
@@ -98,7 +98,7 @@ struct input_device *input_device_new(const char *addr)
return idev;
}
-void input_device_free(struct input_device *idev)
+static void input_device_free(struct input_device *idev)
{
if (!idev)
return;
@@ -107,7 +107,7 @@ void input_device_free(struct input_device *idev)
free(idev);
}
-struct pending_req *pending_req_new(DBusConnection *conn, DBusMessage *msg,
+static struct pending_req *pending_req_new(DBusConnection *conn, DBusMessage *msg,
const char *adapter_path, const char *adapter, const char *peer)
{
struct pending_req *pr;
@@ -125,7 +125,7 @@ struct pending_req *pending_req_new(DBusConnection *conn, DBusMessage *msg,
return pr;
}
-void pending_req_free(struct pending_req *pr)
+static void pending_req_free(struct pending_req *pr)
{
if (!pr)
return;
@@ -913,7 +913,7 @@ struct input_manager {
GSList *paths; /* Input registered paths */
};
-void input_manager_free(struct input_manager *mgr)
+static void input_manager_free(struct input_manager *mgr)
{
if (!mgr)
return;