From: Willem Toorop Date: Fri, 13 Jun 2014 12:12:19 +0000 (+0200) Subject: ldns-testns sync verbose prototype with function X-Git-Tag: release-1.7.0-rc1~161^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03fb3b38d57084f21edd1aa2ec31173eaa4a6e9d;p=thirdparty%2Fldns.git ldns-testns sync verbose prototype with function --- diff --git a/examples/ldns-testpkts.c b/examples/ldns-testpkts.c index ed26285c..1ad20120 100644 --- a/examples/ldns-testpkts.c +++ b/examples/ldns-testpkts.c @@ -31,12 +31,8 @@ struct sockaddr_storage; /** string to show in warnings and errors */ static const char* prog_name = "ldns-testpkts"; -#ifndef UTIL_LOG_H -/** verbosity definition for compat */ -enum verbosity_value { NO_VERBOSE=0 }; -#endif /** logging routine, provided by caller */ -void verbose(enum verbosity_value lvl, const char* msg, ...) ATTR_FORMAT(printf, 2, 3); +void verbose(int lvl, const char* msg, ...) ATTR_FORMAT(printf, 2, 3); /** print error and exit */ static void error(const char* msg, ...)