summaryrefslogtreecommitdiff
path: root/lib/hci.c
diff options
context:
space:
mode:
authorJose Antonio Santos Cadenas <santoscadenas@gmail.com>2010-05-07 00:27:08 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-05-07 01:47:54 +0300
commit078185a2304aed7f0f4f109b4cc45c1a507bce94 (patch)
treed38bb15b849fa139195c33abb597561ee657f217 /lib/hci.c
parent588f659f3f2f725b10f67c81ad1c5755181f93ca (diff)
downloadbluez-078185a2304aed7f0f4f109b4cc45c1a507bce94.tar.gz
Remove extra spaces at end of line in lib dir
Diffstat (limited to 'lib/hci.c')
-rw-r--r--lib/hci.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/hci.c b/lib/hci.c
index 858b9f1ce..114d066fd 100644
--- a/lib/hci.c
+++ b/lib/hci.c
@@ -54,7 +54,7 @@ typedef struct {
unsigned int val;
} hci_map;
-static char *hci_bit2str(hci_map *m, unsigned int val)
+static char *hci_bit2str(hci_map *m, unsigned int val)
{
char *str = malloc(120);
char *ptr = str;
@@ -95,7 +95,7 @@ static int hci_str2bit(hci_map *map, char *str, unsigned int *val)
return set;
}
-static char *hci_uint2str(hci_map *m, unsigned int val)
+static char *hci_uint2str(hci_map *m, unsigned int val)
{
char *str = malloc(50);
char *ptr = str;
@@ -209,7 +209,7 @@ char *hci_dflagstostr(uint32_t flags)
if (hci_test_bit(m->val, &flags))
ptr += sprintf(ptr, "%s ", m->str);
m++;
- }
+ }
return str;
}
@@ -959,7 +959,7 @@ int hci_inquiry(int dev_id, int len, int nrsp, const uint8_t *lap, inquiry_info
errno = ENODEV;
return -1;
}
- }
+ }
dd = socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO_HCI);
if (dd < 0)
@@ -1009,7 +1009,7 @@ done:
return ret;
}
-/* Open HCI device.
+/* Open HCI device.
* Returns device descriptor (dd). */
int hci_open_dev(int dev_id)
{