From 7b49369e7f649aa3180bda486047534e00b5e070 Mon Sep 17 00:00:00 2001 From: Ken Thompson Date: Tue, 9 Dec 2008 18:31:31 -0800 Subject: bug126 R=r OCL=20879 CL=20879 --- src/lib/syscall/syscall_amd64_darwin.go | 2 +- src/lib/syscall/types_amd64_darwin.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/syscall/syscall_amd64_darwin.go b/src/lib/syscall/syscall_amd64_darwin.go index 76d1c46a6..c3f72d857 100644 --- a/src/lib/syscall/syscall_amd64_darwin.go +++ b/src/lib/syscall/syscall_amd64_darwin.go @@ -339,7 +339,7 @@ export const ( // SYS_NOSYS = 296; // { int nosys(void); } { old load_shared_file } // SYS_NOSYS = 297; // { int nosys(void); } { old reset_shared_file } // SYS_NOSYS = 298; // { int nosys(void); } { old new_system_shared_regions } - SYS_ENOSYS = 299; // { int enosys(void); } { old shared_region_map_file_np } + // SYS_ENOSYS = 299; // { int enosys(void); } { old shared_region_map_file_np } SYS_ENOSYS = 300; // { int enosys(void); } { old shared_region_make_private_np } SYS___PTHREAD_MUTEX_DESTROY = 301; // { int __pthread_mutex_destroy(int mutexid); } SYS___PTHREAD_MUTEX_INIT = 302; // { int __pthread_mutex_init(user_addr_t mutex, user_addr_t attr); } diff --git a/src/lib/syscall/types_amd64_darwin.go b/src/lib/syscall/types_amd64_darwin.go index f03f8c754..dea06c811 100644 --- a/src/lib/syscall/types_amd64_darwin.go +++ b/src/lib/syscall/types_amd64_darwin.go @@ -191,7 +191,7 @@ export const ( // flags EV_ONESHOT = 0x0010; EV_CLEAR = 0x0020; - EV_RECEIPT = 0x40; +// EV_RECEIPT = 0x40; EV_SYSFLAGS = 0xF000; EV_FLAG0 = 0x1000; EV_FLAG1 = 0x2000; -- cgit v1.2.3