diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-14 11:55:35 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-14 11:55:35 +0000 |
commit | 0c5e8a2f96dd22534c0b7189ff5e75519be03b82 (patch) | |
tree | a96f0e832270068dc3f81d657e4fda76014f4d76 /sync.h | |
parent | 004229dda605fa93fa04f7c94bff69517241a885 (diff) | |
download | rsyslog-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.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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 */ |