[klibc] Handle legacy sigsuspend() correctly

Legacy sigsuspend() doesn't look anything like the user space
prototype.  There are two variants, and make sure we use the right
one.

This ignores type differences which do not matter.

Originally-by: Thorsten Glaser <tg@mirbsd.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2 files changed