summaryrefslogtreecommitdiff
path: root/spectro/hidio.h
diff options
context:
space:
mode:
Diffstat (limited to 'spectro/hidio.h')
-rw-r--r--spectro/hidio.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/spectro/hidio.h b/spectro/hidio.h
index a7e94c8..90a741b 100644
--- a/spectro/hidio.h
+++ b/spectro/hidio.h
@@ -66,7 +66,7 @@ struct hid_idevice {
/* Stuff setup when device is open: */
CFRunLoopRef rlr;
#else
- int lid; /* Location ID */
+ int lid; /* Location ID */
io_object_t ioob; /* Object to open */
/* Stuff setup when device is open: */
IOHIDDeviceInterface122 **device; /* OS X HID device we've opened */
@@ -75,13 +75,10 @@ struct hid_idevice {
CFRunLoopRef rlr;
IOReturn result;
# define HID_RBUF_SIZE 1024
- unsigned char rbuf[HID_RBUF_SIZE]; /* Buffer for read callback */
+ unsigned char rbuf[HID_RBUF_SIZE]; /* Buffer for read callback */
int bread; /* Bytes read by callback */
#endif /* __MAC_OS_X_VERSION_MAX_ALLOWED < 1060 */
#endif
-#if defined (UNIX) && !defined(__APPLE__)
- int temp; /* Shut the compiler up */
-#endif
};
/* Cleanup and then free an hidd entry */