]> Cypherpunks repositories - gostls13.git/commitdiff
net: fix botched cgo netbsd merge
authorJoel Sing <jsing@google.com>
Mon, 4 Jun 2012 16:12:23 +0000 (02:12 +1000)
committerJoel Sing <jsing@google.com>
Mon, 4 Jun 2012 16:12:23 +0000 (02:12 +1000)
Fix botched cgo_netbsd.go merge and remove redundant +build directive.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6282048

src/pkg/net/cgo_netbsd.go

index 84ade5932f1dd85831216133c78062f88f5ec9ac..aeaf8e568adc06bbb5e8b687cf192064e6a048d0 100644 (file)
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// +build netbsd
-
 package net
 
 /*
@@ -12,9 +10,5 @@ package net
 import "C"
 
 func cgoAddrInfoFlags() C.int {
-<<<<<<< local
        return C.AI_CANONNAME
-=======
-       return C.AI_CANONNAME | C.AI_V4MAPPED | C.AI_ALL
->>>>>>> other
 }