summaryrefslogtreecommitdiff
path: root/src/pkg/net/net.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-08-12 13:19:17 -0700
committerRuss Cox <rsc@golang.org>2009-08-12 13:19:17 -0700
commit2ee4549f599ed214693abf75163176f178b4188c (patch)
treec9dbc55a8447806706f8ae757a04c3c41b815835 /src/pkg/net/net.go
parent5ff5b6823c8a023da5c9d6ccc2effe7fad8447f6 (diff)
downloadgolang-2ee4549f599ed214693abf75163176f178b4188c.tar.gz
convert non-low-level non-google pkg code
to whole-package compilation. R=r OCL=33070 CL=33101
Diffstat (limited to 'src/pkg/net/net.go')
-rw-r--r--src/pkg/net/net.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pkg/net/net.go b/src/pkg/net/net.go
index 46efa6e58..c8d533206 100644
--- a/src/pkg/net/net.go
+++ b/src/pkg/net/net.go
@@ -5,7 +5,6 @@
package net
import (
- "net";
"os";
"reflect";
"strconv";
@@ -158,9 +157,6 @@ func listenBacklog() int {
return syscall.SOMAXCONN
}
-func LookupHost(name string) (cname string, addrs []string, err os.Error)
-func LookupPort(network, service string) (port int, err os.Error)
-
// Split "host:port" into "host" and "port".
// Host cannot contain colons unless it is bracketed.
func splitHostPort(hostport string) (host, port string, err os.Error) {