<isc/mutex.h> does not need <isc/lang.h> or <isc/result.h>.
This commit is contained in:
@@ -20,11 +20,6 @@
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/result.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
typedef pthread_mutex_t isc_mutex_t;
|
||||
|
||||
/* XXX We could do fancier error handling... */
|
||||
@@ -45,6 +40,4 @@ typedef pthread_mutex_t isc_mutex_t;
|
||||
((pthread_mutex_destroy((mp)) == 0) ? \
|
||||
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* ISC_MUTEX_H */
|
||||
|
||||
Reference in New Issue
Block a user