aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_openbsd_amd64.s
diff options
context:
space:
mode:
authorDavid Crawshaw <crawshaw@golang.org>2015-04-13 19:37:04 -0400
committerDavid Crawshaw <crawshaw@golang.org>2015-04-14 12:31:29 +0000
commitcea272de301e511472ff54905140f526c2ec61f4 (patch)
tree55d8fca21b902790b188069a31bd4c2c49f9c2d1 /src/runtime/sys_openbsd_amd64.s
parent2f98bac3107d3dee4f546055e790cf0076454c80 (diff)
downloadgo-cea272de301e511472ff54905140f526c2ec61f4.tar.gz
go-cea272de301e511472ff54905140f526c2ec61f4.zip
runtime: rename close to closefd
Avoids shadowing the builtin channel close function. Change-Id: I7a729b0937c8248fe27222be61318a88db995eee Reviewed-on: https://go-review.googlesource.com/8898 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: David Crawshaw <crawshaw@golang.org>
Diffstat (limited to 'src/runtime/sys_openbsd_amd64.s')
-rw-r--r--src/runtime/sys_openbsd_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_openbsd_amd64.s b/src/runtime/sys_openbsd_amd64.s
index d05782c181..185b82db1a 100644
--- a/src/runtime/sys_openbsd_amd64.s
+++ b/src/runtime/sys_openbsd_amd64.s
@@ -106,7 +106,7 @@ TEXT runtime·open(SB),NOSPLIT,$-8
MOVL AX, ret+16(FP)
RET
-TEXT runtime·close(SB),NOSPLIT,$-8
+TEXT runtime·closefd(SB),NOSPLIT,$-8
MOVL fd+0(FP), DI // arg 1 fd
MOVL $6, AX
SYSCALL