diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-25 17:45:55 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-25 17:45:55 +0000 |
commit | 034cf891ae6b4a897d8d2f3123d67b12b89cd13b (patch) | |
tree | 60979d15dd4bb0f631aebc0f0d2e0875b5e2dd22 /libgo/go | |
parent | 1cce762f14ec1545bc3a823707b4470e70a2e0fc (diff) | |
download | gcc-034cf891ae6b4a897d8d2f3123d67b12b89cd13b.tar.gz |
Fix Solaris build.
From Rainer Orth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180439 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go')
-rw-r--r-- | libgo/go/syscall/wait.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/syscall/wait.c b/libgo/go/syscall/wait.c index cee84c9cb52..d3c90d74ea1 100644 --- a/libgo/go/syscall/wait.c +++ b/libgo/go/syscall/wait.c @@ -95,7 +95,7 @@ extern int TrapCause (uint32_t *w) __asm__ ("libgo_syscall.syscall.TrapCause.N32_libgo_syscall.syscall.WaitStatus"); int -TrapCause (uint32_t *w) +TrapCause (uint32_t *w __attribute__ ((unused))) { #ifndef __linux__ return -1; |