summaryrefslogtreecommitdiff
path: root/spectro/hidio.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
commit094535c010320967639e8e86f974d878e80baa72 (patch)
treeefc3094b20355dcbeebb2c4ece4fcfc69bffedb5 /spectro/hidio.h
parentc07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff)
Imported Upstream version 1.7.0upstream/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 */