mirror of
https://github.com/golang/go
synced 2024-10-05 12:21:22 -06:00
622ace8ffe
Fix botched cgo_netbsd.go merge and remove redundant +build directive. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6282048
15 lines
268 B
Go
15 lines
268 B
Go
// Copyright 2011 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package net
|
|
|
|
/*
|
|
#include <netdb.h>
|
|
*/
|
|
import "C"
|
|
|
|
func cgoAddrInfoFlags() C.int {
|
|
return C.AI_CANONNAME
|
|
}
|