From 094535c010320967639e8e86f974d878e80baa72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 1 May 2015 16:13:57 +0200 Subject: Imported Upstream version 1.7.0 --- spectro/hidio.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'spectro/hidio.h') 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 */ -- cgit v1.2.3