summaryrefslogtreecommitdiffstats
path: root/kcontrol/usbview/usbdevices.h
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2022-01-15 18:02:24 +0900
committerSlávek Banko <slavek.banko@axis.cz>2022-01-16 10:04:12 +0100
commit6fd7284b88a8b7d6c90da5ede59ba8ba1d26cae0 (patch)
tree9af5e3d8f5344727bc7efc884d85255e29843e5e /kcontrol/usbview/usbdevices.h
parent6e049ae69615cde0f44e04a12ee14fbbd5beb3b0 (diff)
downloadtdebase-6fd7284b.tar.gz
tdebase-6fd7284b.zip
kcontrol/usview: fix up "Revive NetBSD support"
Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 5a573b7c95216a642cd5887d602d8188eb79461d)
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
};