summaryrefslogtreecommitdiff
path: root/src/pkg/net/net.go
diff options
context:
space:
mode:
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) {