diff options
Diffstat (limited to 'libgo/go/net/cgo_android.go')
-rw-r--r-- | libgo/go/net/cgo_android.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libgo/go/net/cgo_android.go b/libgo/go/net/cgo_android.go index 3819ce56a4f..fe9925b840a 100644 --- a/libgo/go/net/cgo_android.go +++ b/libgo/go/net/cgo_android.go @@ -9,6 +9,4 @@ package net //#include <netdb.h> import "C" -func cgoAddrInfoFlags() C.int { - return C.AI_CANONNAME -} +const cgoAddrInfoFlags = C.AI_CANONNAME |