~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

Viewing changes to src/pkg/syscall/route_bsd.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
        "unsafe"
11
11
)
12
12
 
13
 
const darwinAMD64 = OS == "darwin" && ARCH == "amd64"
14
 
 
15
13
// Round the length of a raw sockaddr up to align it properly.
16
14
func rsaAlignOf(salen int) int {
17
15
        salign := sizeofPtr
59
57
        sockaddr() []Sockaddr
60
58
}
61
59
 
62
 
const anyMessageLen = unsafe.Sizeof(anyMessage{})
 
60
const anyMessageLen = int(unsafe.Sizeof(anyMessage{}))
63
61
 
64
62
type anyMessage struct {
65
63
        Msglen  uint16