mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
08a49a434c
commit
a174c0d7ed
2 changed files with 6 additions and 6 deletions
9
vendor/github.com/google/gousb/constants.go
generated
vendored
9
vendor/github.com/google/gousb/constants.go
generated
vendored
|
@ -15,10 +15,11 @@
|
||||||
|
|
||||||
package gousb
|
package gousb
|
||||||
|
|
||||||
// #cgo LDFLAGS: -lusb-1.0
|
/*
|
||||||
// #cgo CFLAGS: -I/usr/include/libusb-1.0
|
#cgo LDFLAGS: -lusb-1.0
|
||||||
// #cgo android CFLAGS: -I/data/data/com.termux/files/usr/include/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>
|
||||||
|
*/
|
||||||
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
|
@ -25,8 +25,7 @@ import (
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -lusb-1.0
|
#cgo LDFLAGS: -lusb-1.0
|
||||||
#cgo CFLAGS: -I/usr/include/libusb-1.0
|
#cgo CFLAGS: -I/usr/include/libusb-1.0 -I/data/data/com.termux/files/usr/include/libusb-1.0
|
||||||
#cgo android CFLAGS: -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