summaryrefslogtreecommitdiff
path: root/spectro/hidio.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:24:15 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:24:15 +0200
commita30ba67504ffd12c4db499adbb5ce47a7d1f6036 (patch)
tree9ae1a7e3849dda6bbb5c578232f6f2fa5b2e7e7e /spectro/hidio.h
parent89e99e8a827859729729dfc92d74be4a8f96f1a4 (diff)
parent094535c010320967639e8e86f974d878e80baa72 (diff)
New release 1.7.0
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 */