prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the...
authorPer Bothner <per@bothner.com>
Sun, 26 Sep 2004 20:38:49 +0000 (13:38 -0700)
committerPer Bothner <bothner@gcc.gnu.org>
Sun, 26 Sep 2004 20:38:49 +0000 (13:38 -0700)
commitc5fe8107bc3c2a2c0a5f3b07ae999dfaa8f3d573
treef3d8f4582e3394453fefaf9adb132057dab7f3a8
parent08bc8777ef870ae09a248c700b6c9a129126accc
prims.cc (unblock_signal): Annotate signum with __unused__ to avoid warnings in the non-POSIX_VERSION case.

* prims.cc (unblock_signal): Annotate signum with __unused__ to
avoid warnings in the non-POSIX_VERSION case.
Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
so place it inside an #if block.
* include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
* include/i386-signal.h (SIGNAL_HANDLER):  Likewise
* include/mips-signal.h (SIGNAL_HANDLER):  Likewise
* include/sparc-signal.h (SIGNAL_HANDLER):  Likewise

From-SVN: r88148
libjava/ChangeLog
libjava/include/default-signal.h
libjava/include/i386-signal.h
libjava/include/mips-signal.h
libjava/include/sparc-signal.h
libjava/prims.cc