]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
ldns-testns sync verbose prototype with function
authorWillem Toorop <willem@nlnetlabs.nl>
Fri, 13 Jun 2014 12:12:19 +0000 (14:12 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Fri, 13 Jun 2014 12:12:19 +0000 (14:12 +0200)
examples/ldns-testpkts.c

index ed26285c1f23f41ffdca69380b60c8878129d20a..1ad201202ce9b3701862cc3938398b1237da132a 100644 (file)
@@ -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, ...)