summaryrefslogtreecommitdiffstats
path: root/sync.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-14 11:55:35 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-14 11:55:35 +0000
commit0c5e8a2f96dd22534c0b7189ff5e75519be03b82 (patch)
treea96f0e832270068dc3f81d657e4fda76014f4d76 /sync.c
parent004229dda605fa93fa04f7c94bff69517241a885 (diff)
downloadrsyslog-0c5e8a2f96dd22534c0b7189ff5e75519be03b82.zip
rsyslog-0c5e8a2f96dd22534c0b7189ff5e75519be03b82.tar.gz
rsyslog-0c5e8a2f96dd22534c0b7189ff5e75519be03b82.tar.xz
moved core threading helpers out of syslogd.c
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sync.c b/sync.c
index a3254ca..af2119a 100644
--- a/sync.c
+++ b/sync.c
@@ -23,10 +23,6 @@
#include "config.h"
-#ifdef USE_PTHREADS
-/* all of this code is compiled only if PTHREADS is supported - otherwise
- * we do not need syncrhonization objects (and do not have them!).
- */
#include <stdlib.h>
#include "rsyslog.h"
@@ -75,5 +71,3 @@ unlockObj(pthread_mutex_t *mut)
pthread_mutex_unlock(mut);
}
#endif /* #ifndef NDEBUG */
-
-#endif /* #ifdef USE_PTHREADS */