diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-02 15:51:01 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-02 15:51:01 +0100 |
commit | 38cb3926727c0ad29f3950db43ba12248e867b89 (patch) | |
tree | 5062cb4f81766ab983971126974a914e3fb4f360 /runtime/wti.c | |
parent | acda58b561b92d21df685d03cc703b5792d9d72b (diff) | |
download | rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.gz rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.xz rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.zip |
replaced data type "bool" by "sbool" because this created some portability issues
Diffstat (limited to 'runtime/wti.c')
-rw-r--r-- | runtime/wti.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/wti.c b/runtime/wti.c index 288670b6..14964fb0 100644 --- a/runtime/wti.c +++ b/runtime/wti.c @@ -79,7 +79,7 @@ wtiGetDbgHdr(wti_t *pThis) /* return the current worker processing state. For the sake of * simplicity, we do not use the iRet interface. -- rgerhards, 2009-07-17 */ -bool +sbool wtiGetState(wti_t *pThis) { return ATOMIC_FETCH_32BIT(pThis->bIsRunning); @@ -102,7 +102,7 @@ wtiSetAlwaysRunning(wti_t *pThis) * is inside wti). -- rgerhards, 2009-07-17 */ rsRetVal -wtiSetState(wti_t *pThis, bool bNewVal) +wtiSetState(wti_t *pThis, sbool bNewVal) { ISOBJ_TYPE_assert(pThis, wti); if(bNewVal) |