From 0c5e8a2f96dd22534c0b7189ff5e75519be03b82 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Fri, 14 Dec 2007 11:55:35 +0000 Subject: moved core threading helpers out of syslogd.c --- sync.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sync.h') 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 /* 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 */ -- cgit