diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-04-21 18:25:17 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-04-21 18:25:17 +0100 |
commit | f902c9ca4891dcd65fd1f4b8bba0d23c75451dcd (patch) | |
tree | f06d5b63514cb3ea403253a5373526e209d224b6 /runtime/wtp.c | |
parent | b526e3d92f214aa2a3d0e3c2746884e9a9dba411 (diff) | |
download | rsyslog-f902c9ca4891dcd65fd1f4b8bba0d23c75451dcd.tar.gz rsyslog-f902c9ca4891dcd65fd1f4b8bba0d23c75451dcd.tar.xz rsyslog-f902c9ca4891dcd65fd1f4b8bba0d23c75451dcd.zip |
removed some complier warnings
Diffstat (limited to 'runtime/wtp.c')
-rw-r--r-- | runtime/wtp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/wtp.c b/runtime/wtp.c index 0c66dd11..271c6f0d 100644 --- a/runtime/wtp.c +++ b/runtime/wtp.c @@ -421,13 +421,15 @@ wtpWrkrExecCancelCleanup(void *arg) static void * wtpWorker(void *arg) /* the arg is actually a wti object, even though we are in wtp! */ { - uchar *pszDbgHdr; - uchar thrdName[32] = "rs:"; DEFiRet; DEFVARS_mutexProtection; wti_t *pWti = (wti_t*) arg; wtp_t *pThis; sigset_t sigSet; +# if HAVE_PRCTL && defined PR_SET_NAME + uchar *pszDbgHdr; + uchar thrdName[32] = "rs:"; +# endif ISOBJ_TYPE_assert(pWti, wti); pThis = pWti->pWtp; |