summaryrefslogtreecommitdiffstats
path: root/llgo/third_party/gofrontend/libgo/go/syscall/socket_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'llgo/third_party/gofrontend/libgo/go/syscall/socket_linux.go')
-rw-r--r--llgo/third_party/gofrontend/libgo/go/syscall/socket_linux.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/llgo/third_party/gofrontend/libgo/go/syscall/socket_linux.go b/llgo/third_party/gofrontend/libgo/go/syscall/socket_linux.go
index 8546abc3e06..5064e771221 100644
--- a/llgo/third_party/gofrontend/libgo/go/syscall/socket_linux.go
+++ b/llgo/third_party/gofrontend/libgo/go/syscall/socket_linux.go
@@ -136,11 +136,6 @@ type RawSockaddrNetlink struct {
Groups uint32
}
-type RawSockaddr struct {
- Family uint16
- Data [14]int8
-}
-
// BindToDevice binds the socket associated with fd to device.
func BindToDevice(fd int, device string) (err error) {
return SetsockoptString(fd, SOL_SOCKET, SO_BINDTODEVICE, device)
OpenPOWER on IntegriCloud