summaryrefslogtreecommitdiff
path: root/libgo/go/syscall/socket.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/syscall/socket.go')
-rw-r--r--libgo/go/syscall/socket.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgo/go/syscall/socket.go b/libgo/go/syscall/socket.go
index 9da8a686e3e..e0218ba359d 100644
--- a/libgo/go/syscall/socket.go
+++ b/libgo/go/syscall/socket.go
@@ -296,14 +296,10 @@ func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (errno int) {
*/
-/* FIXME: mksysinfo needs to support IPv6Mreq.
-
func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (errno int) {
return setsockopt(fd, level, opt, (*byte)(unsafe.Pointer(mreq)), Socklen_t(unsafe.Sizeof(*mreq)))
}
-*/
-
func SetsockoptString(fd, level, opt int, s string) (errno int) {
return setsockopt(fd, level, opt, (*byte)(unsafe.Pointer(&[]byte(s)[0])), Socklen_t(len(s)))
}