diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2019-05-27 00:10:22 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2019-05-27 00:10:22 +0000 |
commit | 8d6ffac2a322d53275714a6f194052430bb8050b (patch) | |
tree | 101846b525c9fef1304e6c06a1866fb610620e63 /libgo | |
parent | 2657abe7cee7fe63e90e9745a4d4f62d2c36eff5 (diff) |
PR go/90614
syscall: avoid unused parameter error if WIFCONTINUED not defined
Fixes https://gcc.gnu.org/PR90614
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/178997
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-9-branch@271637 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-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 0b234d0c35b..39bc035e979 100644 --- a/libgo/go/syscall/wait.c +++ b/libgo/go/syscall/wait.c @@ -51,7 +51,7 @@ extern _Bool Continued (uint32_t *w) __asm__ (GOSYM_PREFIX "syscall.WaitStatus.Continued"); _Bool -Continued (uint32_t *w) +Continued (uint32_t *w __attribute__ ((unused))) { return WIFCONTINUED (*w) != 0; } |