summaryrefslogtreecommitdiff
path: root/libgo/go/net/cgo_openbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/cgo_openbsd.go')
-rw-r--r--libgo/go/net/cgo_openbsd.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/libgo/go/net/cgo_openbsd.go b/libgo/go/net/cgo_openbsd.go
index 09c5ad2d9fd..183091366cb 100644
--- a/libgo/go/net/cgo_openbsd.go
+++ b/libgo/go/net/cgo_openbsd.go
@@ -11,6 +11,4 @@ package net
*/
import "C"
-func cgoAddrInfoFlags() C.int {
- return C.AI_CANONNAME
-}
+const cgoAddrInfoFlags = C.AI_CANONNAME