Common Trace Format 2 generation
[lttng-tools.git] / tests / utils / xml-utils / validate_xml.cpp
index bb67e56e17edea75706b56c50ec072c49f2433be..93b9d093c2da39afdb3e264669dafec60262c8ea 100644 (file)
@@ -25,7 +25,7 @@
 #include <libxml/parser.h>
 
 #include <lttng/lttng-error.h>
-#include <common/macros.h>
+#include <common/macros.hpp>
 
 struct validation_ctx {
        xmlSchemaParserCtxtPtr parser_ctx;
@@ -38,7 +38,7 @@ enum command_err_code {
        CMD_ERROR
 };
 
-static
+static ATTR_FORMAT_PRINTF(2, 3)
 void xml_error_handler(void *ctx, const char *format, ...)
 {
        char *err_msg;
This page took 0.032083 seconds and 5 git commands to generate.