--- a/src/libgo/go/syscall/libcall_posix.go +++ b/src/libgo/go/syscall/libcall_posix.go @@ -3,6 +3,8 @@ // license that can be found in the LICENSE file. // POSIX library calls. +// Removed the mount call for GNU/Hurd, it exists but use translators. +// Functionality is not the same as descibed in sys/mount.h // This file is compiled as ordinary Go code, // but it is also input to mksyscall, // which parses the //sys lines and generates library call stubs. @@ -271,9 +273,6 @@ //sys Mknod(path string, mode uint32, dev int) (err error) //mknod(path *byte, mode Mode_t, dev _dev_t) _C_int -//sys Mount(source string, target string, fstype string, flags uintptr, data string) (err error) -//mount(source *byte, target *byte, fstype *byte, flags _C_long, data *byte) _C_int - //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) //nanosleep(time *Timespec, leftover *Timespec) _C_int