diff options
Diffstat (limited to 'go/vendor/golang.org/x/sys/unix/gccgo_c.c')
-rw-r--r-- | go/vendor/golang.org/x/sys/unix/gccgo_c.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/go/vendor/golang.org/x/sys/unix/gccgo_c.c b/go/vendor/golang.org/x/sys/unix/gccgo_c.c index 24e96b1..c44730c 100644 --- a/go/vendor/golang.org/x/sys/unix/gccgo_c.c +++ b/go/vendor/golang.org/x/sys/unix/gccgo_c.c @@ -3,6 +3,7 @@ // license that can be found in the LICENSE file. // +build gccgo +// +build !aix #include <errno.h> #include <stdint.h> @@ -36,12 +37,3 @@ gccgoRealSyscallNoError(uintptr_t trap, uintptr_t a1, uintptr_t a2, uintptr_t a3 { return syscall(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9); } - -// Define the use function in C so that it is not inlined. - -extern void use(void *) __asm__ (GOSYM_PREFIX GOPKGPATH ".use") __attribute__((noinline)); - -void -use(void *p __attribute__ ((unused))) -{ -} |