From: Peter Howkins Date: Thu, 30 Aug 2012 17:18:20 +0000 (+0100) Subject: dtexec: On Linux use the variation of signal handlers that takes an int arg X-Git-Tag: 2.2.0b~31 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7546d1a71aed5ef4163cd6848a64aecf173624a2;p=oweals%2Fcde.git dtexec: On Linux use the variation of signal handlers that takes an int arg Warning Prevention. --- diff --git a/cde/programs/dtexec/Main.c b/cde/programs/dtexec/Main.c index 71f77eee..36245887 100644 --- a/cde/programs/dtexec/Main.c +++ b/cde/programs/dtexec/Main.c @@ -323,7 +323,7 @@ Help( *****************************************************************************/ static void -#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) +#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux) PanicSignal(int s) #else PanicSignal(void) @@ -360,7 +360,7 @@ PanicSignal(void) *****************************************************************************/ static void -#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) +#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux) IgnoreSignal(int i) #else IgnoreSignal(void) @@ -402,7 +402,7 @@ IgnoreSignal(void) *****************************************************************************/ static void -#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) +#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux) UrgentSignal(int i) #else UrgentSignal(void) @@ -453,7 +453,7 @@ UrgentSignal(void) * *****************************************************************************/ static void -#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) +#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux) SigCld(int i) #else SigCld(void) @@ -1523,7 +1523,7 @@ main ( * a SIGCLD, give up and exit. */ 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); #else PanicSignal();