mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtexec: On Linux use the variation of signal handlers that takes an int arg
Warning Prevention.
This commit is contained in:
parent
6315770583
commit
7546d1a71a
1 changed files with 5 additions and 5 deletions
|
@ -323,7 +323,7 @@ Help(
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__)
|
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
|
||||||
PanicSignal(int s)
|
PanicSignal(int s)
|
||||||
#else
|
#else
|
||||||
PanicSignal(void)
|
PanicSignal(void)
|
||||||
|
@ -360,7 +360,7 @@ PanicSignal(void)
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__)
|
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
|
||||||
IgnoreSignal(int i)
|
IgnoreSignal(int i)
|
||||||
#else
|
#else
|
||||||
IgnoreSignal(void)
|
IgnoreSignal(void)
|
||||||
|
@ -402,7 +402,7 @@ IgnoreSignal(void)
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__)
|
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
|
||||||
UrgentSignal(int i)
|
UrgentSignal(int i)
|
||||||
#else
|
#else
|
||||||
UrgentSignal(void)
|
UrgentSignal(void)
|
||||||
|
@ -453,7 +453,7 @@ UrgentSignal(void)
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
static void
|
static void
|
||||||
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__)
|
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
|
||||||
SigCld(int i)
|
SigCld(int i)
|
||||||
#else
|
#else
|
||||||
SigCld(void)
|
SigCld(void)
|
||||||
|
@ -1523,7 +1523,7 @@ main (
|
||||||
* a SIGCLD, give up and exit.
|
* a SIGCLD, give up and exit.
|
||||||
*/
|
*/
|
||||||
if (rediscoverUrgentSigG > ((1000/SHORT_SELECT_TIMEOUT)*5) ) {
|
if (rediscoverUrgentSigG > ((1000/SHORT_SELECT_TIMEOUT)*5) ) {
|
||||||
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__)
|
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
|
||||||
PanicSignal(0);
|
PanicSignal(0);
|
||||||
#else
|
#else
|
||||||
PanicSignal();
|
PanicSignal();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue