diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 05:56:39 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-12-23 05:56:39 +0100 |
commit | 99bc055edc4b9ba8ccda791757a6439fb03ff8f2 (patch) | |
tree | bd4c2be8aad4e5e68863efeee3eec74e93449283 | |
parent | 0a14f620f8be275db4a8f88a50d12044c9e6cf8a (diff) |
Make two more local functions static
-rw-r--r-- | src/adapter.c | 4 | ||||
-rw-r--r-- | src/device.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/adapter.c b/src/adapter.c index dc6f8e9c..281d47e1 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -1580,7 +1580,7 @@ static DBusMessage *create_bonding(DBusConnection *conn, DBusMessage *msg, return NULL; } -int start_inquiry(struct btd_adapter *adapter) +static int start_inquiry(struct btd_adapter *adapter) { inquiry_cp cp; evt_cmd_status rp; @@ -3047,7 +3047,7 @@ struct remote_dev_info *adapter_search_found_devices(struct btd_adapter *adapter return NULL; } -int dev_rssi_cmp(struct remote_dev_info *d1, struct remote_dev_info *d2) +static int dev_rssi_cmp(struct remote_dev_info *d1, struct remote_dev_info *d2) { int rssi1, rssi2; diff --git a/src/device.c b/src/device.c index b385814c..46a2592e 100644 --- a/src/device.c +++ b/src/device.c @@ -737,7 +737,7 @@ void device_probe_drivers(struct btd_device *device, GSList *profiles) } } -void device_remove_drivers(struct btd_device *device, GSList *uuids) +static void device_remove_drivers(struct btd_device *device, GSList *uuids) { struct btd_adapter *adapter = device_get_adapter(device); GSList *list, *next; |