summaryrefslogtreecommitdiffstats
path: root/kcontrol/usbview/usbdevices.h
diff options
context:
space:
mode:
authorOBATA Akio <[email protected]>2022-01-15 18:02:24 +0900
committerOBATA Akio <[email protected]>2022-01-16 11:39:55 +0900
commit5a573b7c95216a642cd5887d602d8188eb79461d (patch)
tree046f9981580d6df40d3752ccb0dbea84af10fb7a /kcontrol/usbview/usbdevices.h
parent2a0d89056aa1bf5f52be28d59fa705e140876d56 (diff)
downloadtdebase-5a573b7c95216a642cd5887d602d8188eb79461d.tar.gz
tdebase-5a573b7c95216a642cd5887d602d8188eb79461d.zip
kcontrol/usview: fix up "Revive NetBSD support"
Signed-off-by: OBATA Akio <[email protected]>
Diffstat (limited to 'kcontrol/usbview/usbdevices.h')
-rw-r--r--kcontrol/usbview/usbdevices.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kcontrol/usbview/usbdevices.h b/kcontrol/usbview/usbdevices.h
index f655ef9a3..bc8eab4f6 100644
--- a/kcontrol/usbview/usbdevices.h
+++ b/kcontrol/usbview/usbdevices.h
@@ -70,7 +70,12 @@ private:
unsigned int _vendorID, _prodID, _revMajor, _revMinor;
#if defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
+#if defined(Q_OS_FREEBSD)
void collectData(struct libusb20_backend *, struct libusb20_device *);
+#endif
+#if defined(Q_OS_NETBSD)
+ void collectData( int fd, int level, usb_device_info &di, int parent);
+#endif
TQStringList _devnodes;
#endif
};