From 4ddd89ce6924d7b6a0988d93d2b6a8cbe9a30a60 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 23 Nov 2010 17:52:06 +0200 Subject: We're already considering mandatory header elsewhere - ... so might as well do so here too --- rpmio/rpmsq.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'rpmio') diff --git a/rpmio/rpmsq.c b/rpmio/rpmsq.c index 8ba657829..4e69ad040 100644 --- a/rpmio/rpmsq.c +++ b/rpmio/rpmsq.c @@ -11,8 +11,6 @@ #include #include -#if defined(HAVE_PTHREAD_H) - #include /* XXX suggested in bugzilla #159024 */ @@ -33,17 +31,6 @@ static pthread_mutex_t rpmsigTbl_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; #define ME() ((void *)pthread_self()) -#else - -#define DO_LOCK() -#define DO_UNLOCK() -#define ADD_REF(__tbl) (0) -#define SUB_REF(__tbl) (0) - -#define ME() (((void *)getpid())) - -#endif /* HAVE_PTHREAD_H */ - #define _RPMSQ_INTERNAL #include -- cgit v1.2.3