summaryrefslogtreecommitdiff
path: root/altosui/libaltos/libaltos.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-08 12:31:48 -0700
committerKeith Packard <keithp@keithp.com>2011-08-08 12:31:48 -0700
commita315b200cd0da1a964f5395cd59660be1b49672b (patch)
treeccc1369313bfee5b8f6d20561c327fa9f939db17 /altosui/libaltos/libaltos.c
parenta65daf94e8fe3e22f770ef76d9104c3dd11d0330 (diff)
altosui: Pull out BlueTooth support
This leaves the code in place, but commented out so that it isn't used until we've got a bluetooth device ready for use. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/libaltos/libaltos.c')
-rw-r--r--altosui/libaltos/libaltos.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/altosui/libaltos/libaltos.c b/altosui/libaltos/libaltos.c
index 5e507cdf..b00a7704 100644
--- a/altosui/libaltos/libaltos.c
+++ b/altosui/libaltos/libaltos.c
@@ -582,6 +582,7 @@ altos_list_finish(struct altos_list *usbdevs)
free(usbdevs);
}
+#if HAS_BLUETOOTH
struct altos_bt_list {
inquiry_info *ii;
int sock;
@@ -713,6 +714,7 @@ no_sock:
no_file:
return NULL;
}
+#endif /* HAS_BLUETOOTH */
#endif