diff options
Diffstat (limited to 'executor/common_usb_netbsd.h')
| -rw-r--r-- | executor/common_usb_netbsd.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/executor/common_usb_netbsd.h b/executor/common_usb_netbsd.h index af73e19c4..78cf4ba98 100644 --- a/executor/common_usb_netbsd.h +++ b/executor/common_usb_netbsd.h @@ -11,11 +11,7 @@ #include <fcntl.h> #include <sys/ioctl.h> -/* -------------------------------------------------------------------------- */ - -/* - * Redefinitions to match the linux types used in common_usb.h. - */ +// Redefinitions to match the linux types used in common_usb.h. struct usb_endpoint_descriptor { uint8 bLength; @@ -155,8 +151,6 @@ struct usb_qualifier_descriptor { #include "common_usb.h" -/* -------------------------------------------------------------------------- */ - static int vhci_open(void) { char path[1024]; @@ -211,8 +205,6 @@ static int vhci_usb_send(int fd, void* buf, size_t size) } } -/* -------------------------------------------------------------------------- */ - static volatile long syz_usb_connect_impl(uint64 speed, uint64 dev_len, const char* dev, const struct vusb_connect_descriptors* descs, lookup_connect_out_response_t lookup_connect_response_out) @@ -300,7 +292,7 @@ static volatile long syz_usb_connect_impl(uint64 speed, uint64 dev_len, if ((req.u.ctrl.bmRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD && req.u.ctrl.bRequest == USB_REQ_SET_CONFIGURATION) { - /* TODO: possibly revisit */ + // TODO: possibly revisit. } if (response_length > sizeof(data)) |
