diff options
author | Jose Antonio Santos Cadenas <santoscadenas@gmail.com> | 2010-05-07 00:27:08 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-05-07 01:47:54 +0300 |
commit | 078185a2304aed7f0f4f109b4cc45c1a507bce94 (patch) | |
tree | d38bb15b849fa139195c33abb597561ee657f217 /lib/hci.c | |
parent | 588f659f3f2f725b10f67c81ad1c5755181f93ca (diff) | |
download | bluez-078185a2304aed7f0f4f109b4cc45c1a507bce94.tar.gz |
Remove extra spaces at end of line in lib dir
Diffstat (limited to 'lib/hci.c')
-rw-r--r-- | lib/hci.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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) { |