mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
DESTROYLOCK does not need a do { } while (0) construct.
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: util.h,v 1.18 2000/08/26 01:23:17 bwelling Exp $ */
|
/* $Id: util.h,v 1.19 2000/08/28 19:49:38 bwelling Exp $ */
|
||||||
|
|
||||||
#ifndef ISC_UTIL_H
|
#ifndef ISC_UTIL_H
|
||||||
#define ISC_UTIL_H 1
|
#define ISC_UTIL_H 1
|
||||||
@@ -94,9 +94,8 @@
|
|||||||
(lp), __FILE__, __LINE__)); \
|
(lp), __FILE__, __LINE__)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define ISLOCKED(lp) (1)
|
#define ISLOCKED(lp) (1)
|
||||||
#define DESTROYLOCK(lp) do { \
|
#define DESTROYLOCK(lp) \
|
||||||
RUNTIME_CHECK(isc_mutex_destroy((lp)) == ISC_R_SUCCESS); \
|
RUNTIME_CHECK(isc_mutex_destroy((lp)) == ISC_R_SUCCESS)
|
||||||
} while (0);
|
|
||||||
|
|
||||||
|
|
||||||
#define BROADCAST(cvp) do { \
|
#define BROADCAST(cvp) do { \
|
||||||
|
Reference in New Issue
Block a user