Replace 'struct siginfo' with 'siginfo_t'.
commit02d2bd5d57812154cfb978bc2098cf49d551583d
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 5 Jul 2012 03:32:44 +0000 (5 03:32 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 1 Aug 2012 13:54:07 +0000 (1 08:54 -0500)
tree691f19cd482d076cd8e8767ac79affba0b995d4c
parent65dee38052597b6285eb208125369f01b29ba6c1
Replace 'struct siginfo' with 'siginfo_t'.

glibc 2.16 will remove the undocumented definition of 'struct siginfo'
from <bits/siginfo.h>.

This change is already present in glibc 2.15.90, so qemu compilation
of certain targets (eg. cris-user) breaks.

This struct was always typedef'd to be the same as 'siginfo_t' which
is what POSIX documents, so use that instead.

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
linux-user/signal.c
user-exec.c