Changed a couple of ifdefs for __FreeBSD__ to CSRG_BASED. These are all clearcut cases. I left the ones I had doubts about, or where I wasn't sure about the OpenBSD side of things to look at later.

This commit is contained in:
Jelle Hermsen
2012-09-29 13:14:57 +02:00
committed by Jon Trulson
parent 8cfdf21526
commit b8862cab32
23 changed files with 31 additions and 31 deletions

View File

@@ -323,7 +323,7 @@ Help(
*****************************************************************************/
static void
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
#if defined(__aix) || defined (__osf__) || defined(CSRG_BASED) || defined(linux)
PanicSignal(int s)
#else
PanicSignal(void)
@@ -360,7 +360,7 @@ PanicSignal(void)
*****************************************************************************/
static void
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
#if defined(__aix) || defined (__osf__) || defined(CSRG_BASED) || defined(linux)
IgnoreSignal(int i)
#else
IgnoreSignal(void)
@@ -402,7 +402,7 @@ IgnoreSignal(void)
*****************************************************************************/
static void
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
#if defined(__aix) || defined (__osf__) || defined(CSRG_BASED) || defined(linux)
UrgentSignal(int i)
#else
UrgentSignal(void)
@@ -453,7 +453,7 @@ UrgentSignal(void)
*
*****************************************************************************/
static void
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
#if defined(__aix) || defined (__osf__) || defined(CSRG_BASED) || defined(linux)
SigCld(int i)
#else
SigCld(void)
@@ -1525,7 +1525,7 @@ main (
* a SIGCLD, give up and exit.
*/
if (rediscoverUrgentSigG > ((1000/SHORT_SELECT_TIMEOUT)*5) ) {
#if defined(__aix) || defined (__osf__) || defined(__FreeBSD__) || defined(linux)
#if defined(__aix) || defined (__osf__) || defined(CSRG_BASED) || defined(linux)
PanicSignal(0);
#else
PanicSignal();