summaryrefslogtreecommitdiff
path: root/src/lib/syscall/errstr_darwin.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
committerRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
commit4ae0ed29a283c16d1c83ef704c4d75170c3801e6 (patch)
treef8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /src/lib/syscall/errstr_darwin.go
parent3986ef877ccd4db750b5050e318dff78f7e55d19 (diff)
downloadgolang-4ae0ed29a283c16d1c83ef704c4d75170c3801e6.tar.gz
delete export
TBR=r OCL=23121 CL=23127
Diffstat (limited to 'src/lib/syscall/errstr_darwin.go')
-rw-r--r--src/lib/syscall/errstr_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/syscall/errstr_darwin.go b/src/lib/syscall/errstr_darwin.go
index 65f970b67..780ce71b1 100644
--- a/src/lib/syscall/errstr_darwin.go
+++ b/src/lib/syscall/errstr_darwin.go
@@ -4,7 +4,7 @@
package syscall
-export const (
+const (
ENONE=0;
EPERM=1;
ENOENT=2;
@@ -234,7 +234,7 @@ func str(val int64) string { // do it here rather than with fmt to avoid depend
return string(buf)[i:len(buf)];
}
-export func Errstr(errno int64) string {
+func Errstr(errno int64) string {
if errno < 0 || errno >= len(error) {
return "Error " + str(errno)
}