kopia lustrzana https://github.com/FreeSpacenav/spacenavd
fixed C++ comment in dev_usb_darwin.c and silenced gcc's nagging for empty files
git-svn-id: svn+ssh://svn.code.sf.net/p/spacenav/code/trunk/spacenavd@174 ef983eb1-d774-4af8-acfd-baaf7b16a646pull/1/head
rodzic
7951ae1c50
commit
0d1165a0e5
|
|
@ -64,7 +64,7 @@ struct usb_device_info *find_usb_devices(int (*match)(const struct usb_device_in
|
|||
}
|
||||
devinfo.num_devfiles = 1;
|
||||
|
||||
// TODO retrieve vendor id and product id
|
||||
/* TODO retrieve vendor id and product id */
|
||||
|
||||
if(!match || match(&devinfo)) {
|
||||
struct usb_device_info *node = malloc(sizeof *node);
|
||||
|
|
@ -89,4 +89,6 @@ struct usb_device_info *find_usb_devices(int (*match)(const struct usb_device_in
|
|||
return devlist;
|
||||
}
|
||||
|
||||
#else
|
||||
int spacenavd_dev_usb_darwin_silence_empty_warning;
|
||||
#endif /* __APPLE__ && __MACH__ */
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue