summaryrefslogtreecommitdiffstats
path: root/sync.h
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.h
parent004229dda605fa93fa04f7c94bff69517241a885 (diff)
downloadrsyslog-0c5e8a2f96dd22534c0b7189ff5e75519be03b82.tar.gz
rsyslog-0c5e8a2f96dd22534c0b7189ff5e75519be03b82.tar.xz
rsyslog-0c5e8a2f96dd22534c0b7189ff5e75519be03b82.zip
moved core threading helpers out of syslogd.c
Diffstat (limited to 'sync.h')
-rw-r--r--sync.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sync.h b/sync.h
index c0c6948d..fa79b66b 100644
--- a/sync.h
+++ b/sync.h
@@ -24,7 +24,6 @@
#ifndef INCLUDED_SYNC_H
#define INCLUDED_SYNC_H
-#ifdef USE_PTHREADS /* Code to compile for threading support */
#include <pthread.h>
/* SYNC_OBJ_TOOL definition must be placed in object to be synced!
@@ -52,12 +51,4 @@ void SyncObjExit(pthread_mutex_t **mut);
extern void lockObj(pthread_mutex_t *mut);
extern void unlockObj(pthread_mutex_t *mut);
-#else /* Code not to compile for threading support */
-#define SYNC_OBJ_TOOL
-#define SYNC_OBJ_TOOL_INIT(x)
-#define SYNC_OBJ_TOOL_EXIT(X)
-#define LockObj(x)
-#define UnlockObj(x)
-#endif
-
#endif /* #ifndef INCLUDED_SYNC_H */