diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2015-04-27 17:32:23 +1000 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2015-06-19 01:47:11 +0000 |
commit | 9d968cb47b240f47b40809639a0a532e752f6a08 (patch) | |
tree | 76a1a2d9c59f66b2840c05b0234850e20b065a01 /src/runtime/env_posix.go | |
parent | 1a040c923035fbab613ef9f37422e91ac01ff911 (diff) | |
download | go-9d968cb47b240f47b40809639a0a532e752f6a08.tar.gz go-9d968cb47b240f47b40809639a0a532e752f6a08.zip |
runtime: rename cgocall_errno and asmcgocall_errno into cgocall and asmcgocall
Change-Id: I5917bea8bb35b0e725dcc56a68f3a70137cfc180
Reviewed-on: https://go-review.googlesource.com/9387
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/env_posix.go')
-rw-r--r-- | src/runtime/env_posix.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/env_posix.go b/src/runtime/env_posix.go index e648442677..5e49287421 100644 --- a/src/runtime/env_posix.go +++ b/src/runtime/env_posix.go @@ -32,7 +32,7 @@ func syscall_setenv_c(k string, v string) { return } arg := [2]unsafe.Pointer{cstring(k), cstring(v)} - asmcgocall_errno(unsafe.Pointer(_cgo_setenv), unsafe.Pointer(&arg)) + asmcgocall(unsafe.Pointer(_cgo_setenv), unsafe.Pointer(&arg)) } // Update the C environment if cgo is loaded. @@ -43,7 +43,7 @@ func syscall_unsetenv_c(k string) { return } arg := [1]unsafe.Pointer{cstring(k)} - asmcgocall_errno(unsafe.Pointer(_cgo_unsetenv), unsafe.Pointer(&arg)) + asmcgocall(unsafe.Pointer(_cgo_unsetenv), unsafe.Pointer(&arg)) } func cstring(s string) unsafe.Pointer { |