diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-10-25 17:45:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-10-25 17:45:55 +0000 |
commit | f9367b7c7010b02d6a6dca7278b01ea3fab17d91 (patch) | |
tree | 60979d15dd4bb0f631aebc0f0d2e0875b5e2dd22 /libgo/go | |
parent | f29ce5f5f1f0deec646389d5a44bcedb6c543014 (diff) | |
download | gcc-f9367b7c7010b02d6a6dca7278b01ea3fab17d91.zip gcc-f9367b7c7010b02d6a6dca7278b01ea3fab17d91.tar.gz gcc-f9367b7c7010b02d6a6dca7278b01ea3fab17d91.tar.bz2 |
Fix Solaris build.
From Rainer Orth.
From-SVN: r180439
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 cee84c9..d3c90d7 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; |