summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-09-02 17:32:40 -0300
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-09-03 15:34:25 -0300
commit6a9fd862a3d75bdcf4ad83dad38f70317594fed1 (patch)
tree0d7ea7da76a0f3b7878cecceae32f555ecdf72ab /input
parentdd749c518ab4d2f5833b844a10a563286f23d3d8 (diff)
Input cleanup: missing static modifier
Diffstat (limited to 'input')
-rw-r--r--input/manager.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/input/manager.c b/input/manager.c
index b8f8b2de..68b4c1c1 100644
--- a/input/manager.c
+++ b/input/manager.c
@@ -162,7 +162,7 @@ static int load_stored(const char *source, const char *destination,
return parse_stored_device_info(value, hidp);
}
-void input_remove(struct btd_device *device, const char *uuid)
+static void input_remove(struct btd_device *device, const char *uuid)
{
const gchar *path = device_get_path(device);
@@ -171,7 +171,7 @@ void input_remove(struct btd_device *device, const char *uuid)
input_device_unregister(path, uuid);
}
-int hid_probe(struct btd_device *device, GSList *records)
+static int hid_probe(struct btd_device *device, GSList *records)
{
struct adapter *adapter = device_get_adapter(device);
const gchar *path = device_get_path(device);
@@ -206,12 +206,12 @@ done:
HID_UUID, hidp.idle_to);
}
-void hid_remove(struct btd_device *device)
+static void hid_remove(struct btd_device *device)
{
input_remove(device, HID_UUID);
}
-int headset_probe(struct btd_device *device, GSList *records)
+static int headset_probe(struct btd_device *device, GSList *records)
{
struct adapter *adapter = device_get_adapter(device);
const gchar *path = device_get_path(device);
@@ -247,7 +247,7 @@ int headset_probe(struct btd_device *device, GSList *records)
HSP_HS_UUID, ch);
}
-void headset_remove(struct btd_device *device)
+static void headset_remove(struct btd_device *device)
{
input_remove(device, HSP_HS_UUID);
}