125. [cleanup] <isc/eventclass.h>, <isc/ipv6.h>, <isc/magic.h>,
<isc/mutex.h>, <isc/once.h>, <isc/region.h>, and
<isc/resultclass.h> do not need <isc/lang.h>.
This commit is contained in:
@@ -20,11 +20,8 @@
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#include <isc/lang.h>
|
||||
#include <isc/result.h>
|
||||
|
||||
ISC_LANG_BEGINDECLS
|
||||
|
||||
typedef pthread_once_t isc_once_t;
|
||||
|
||||
#define ISC_ONCE_INIT PTHREAD_ONCE_INIT
|
||||
@@ -35,6 +32,4 @@ typedef pthread_once_t isc_once_t;
|
||||
((pthread_once((op), (f)) == 0) ? \
|
||||
ISC_R_SUCCESS : ISC_R_UNEXPECTED)
|
||||
|
||||
ISC_LANG_ENDDECLS
|
||||
|
||||
#endif /* ISC_ONCE_H */
|
||||
|
||||
Reference in New Issue
Block a user