From: Keith Packard Date: Fri, 11 Jul 2014 04:13:49 +0000 (-0700) Subject: libaltos: typo in libaltos broke the build X-Git-Tag: 1.4.9.2~10 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=405626971b47d4d4031312232bf13ad3d4bace7f libaltos: typo in libaltos broke the build When converting this to use dlopen, I mis-typed the name hci_read_remote_name Signed-off-by: Keith Packard --- diff --git a/libaltos/libaltos.c b/libaltos/libaltos.c index a1f1ee4c..4e3bc2c5 100644 --- a/libaltos/libaltos.c +++ b/libaltos/libaltos.c @@ -675,7 +675,7 @@ bt_func(str2ba, int, -1, (const char *str, bdaddr_t *ba), (str, ba)) #define str2ba altos_str2ba bt_func(hci_read_remote_name, int, -1, (int sock, const bdaddr_t *ba, int len, char *name, int timeout), (sock, ba, len, name, timeout)) -#define hci_read_remote altos_hci_read_remote +#define hci_read_remote_name altos_hci_read_remote_name bt_func(hci_open_dev, int, -1, (int dev_id), (dev_id)) #define hci_open_dev altos_hci_open_dev