Skip to content

Commit c721994

Browse files
committed
internal/syscall/unix: remove unused *Trap consts
These are unused since the darwin port switched to libc calls in CL 148457. Change-Id: I309bb5b0a52c9069484e7a649d4a652efcb8e160 Reviewed-on: https://go-review.googlesource.com/c/go/+/200866 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 46be01f commit c721994

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/internal/syscall/unix/at_sysnum_darwin.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,5 @@
44

55
package unix
66

7-
const unlinkatTrap uintptr = 472
8-
const openatTrap uintptr = 463
9-
const fstatatTrap uintptr = 470
10-
117
const AT_REMOVEDIR = 0x80
128
const AT_SYMLINK_NOFOLLOW = 0x0020

0 commit comments

Comments
 (0)