diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:13:57 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:13:57 +0200 |
commit | 094535c010320967639e8e86f974d878e80baa72 (patch) | |
tree | efc3094b20355dcbeebb2c4ece4fcfc69bffedb5 /spectro/hidio.h | |
parent | c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff) |
Imported Upstream version 1.7.0upstream/1.7.0
Diffstat (limited to 'spectro/hidio.h')
-rw-r--r-- | spectro/hidio.h | 7 |
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 */ |