From 03fb3b38d57084f21edd1aa2ec31173eaa4a6e9d Mon Sep 17 00:00:00 2001 From: Willem Toorop Date: Fri, 13 Jun 2014 14:12:19 +0200 Subject: [PATCH] ldns-testns sync verbose prototype with function --- examples/ldns-testpkts.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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, ...) -- 2.47.3