mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 21:12:05 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
a174c0d7ed
commit
99a60364cd
3 changed files with 3 additions and 8 deletions
6
vendor/github.com/google/gousb/constants.go
generated
vendored
6
vendor/github.com/google/gousb/constants.go
generated
vendored
|
@ -15,11 +15,7 @@
|
||||||
|
|
||||||
package gousb
|
package gousb
|
||||||
|
|
||||||
/*
|
// #include <libusb.h>
|
||||||
#cgo LDFLAGS: -lusb-1.0
|
|
||||||
#cgo CFLAGS: -I/usr/include/libusb-1.0 -I/data/data/com.termux/files/usr/include/libusb-1.0
|
|
||||||
#include <libusb.h>
|
|
||||||
*/
|
|
||||||
import "C"
|
import "C"
|
||||||
import "strconv"
|
import "strconv"
|
||||||
|
|
||||||
|
|
3
vendor/github.com/google/gousb/libusb.go
generated
vendored
3
vendor/github.com/google/gousb/libusb.go
generated
vendored
|
@ -24,8 +24,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -lusb-1.0
|
#cgo pkg-config: libusb-1.0
|
||||||
#cgo CFLAGS: -I/usr/include/libusb-1.0 -I/data/data/com.termux/files/usr/include/libusb-1.0
|
|
||||||
#include <libusb.h>
|
#include <libusb.h>
|
||||||
|
|
||||||
int gousb_compact_iso_data(struct libusb_transfer *xfer, unsigned char *status);
|
int gousb_compact_iso_data(struct libusb_transfer *xfer, unsigned char *status);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue