Commit a4186b18 authored by Mark Andrews's avatar Mark Andrews Committed by Evan Hunt
Browse files

redefine CHECK so cppcheck see the definition

parent f2c22662
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment