From cea272de301e511472ff54905140f526c2ec61f4 Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Mon, 13 Apr 2015 19:37:04 -0400 Subject: 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 Run-TryBot: David Crawshaw --- src/runtime/sys_linux_386.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/sys_linux_386.s') diff --git a/src/runtime/sys_linux_386.s b/src/runtime/sys_linux_386.s index e3fae4cb93..d69054feb5 100644 --- a/src/runtime/sys_linux_386.s +++ b/src/runtime/sys_linux_386.s @@ -36,7 +36,7 @@ TEXT runtime·open(SB),NOSPLIT,$0 MOVL AX, ret+12(FP) RET -TEXT runtime·close(SB),NOSPLIT,$0 +TEXT runtime·closefd(SB),NOSPLIT,$0 MOVL $6, AX // syscall - close MOVL fd+0(FP), BX CALL *runtime·_vdso(SB) -- cgit v1.3