redefine CHECK so cppcheck see the definition
This commit is contained in:
@@ -9,8 +9,6 @@
|
||||
* information regarding copyright ownership.
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
/* Reviewed: Fri Mar 17 15:01:49 PST 2000 by explorer */
|
||||
|
||||
#ifndef RDATA_IN_1_WKS_11_C
|
||||
@@ -23,6 +21,16 @@
|
||||
#include <isc/netdb.h>
|
||||
#include <isc/once.h>
|
||||
|
||||
/*
|
||||
* Redefine CHECK here so cppcheck "sees" the define.
|
||||
*/
|
||||
#ifndef CHECK
|
||||
#define CHECK(op) \
|
||||
do { result = (op); \
|
||||
if (result != ISC_R_SUCCESS) goto cleanup; \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
#define RRTYPE_WKS_ATTRIBUTES (0)
|
||||
|
||||
static isc_mutex_t wks_lock;
|
||||
|
||||
Reference in New Issue
Block a user