Copyright ownership transfer
[lttng-tools.git] / tests / utils / xml-utils / validate_xml.cpp
index bb67e56e17edea75706b56c50ec072c49f2433be..fa8b2cc9d5d524995e91f8b7837eae29c8cb3c2b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Jonathan Rajotte <jonathan.r.julien@gmail.com>
+ * Copyright (C) 2014 EfficiOS Inc.
  *
  * SPDX-License-Identifier: LGPL-2.1-only
  *
@@ -27,6 +27,8 @@
 #include <lttng/lttng-error.h>
 #include <common/macros.h>
 
+#include <common/macros.h>
+
 struct validation_ctx {
        xmlSchemaParserCtxtPtr parser_ctx;
        xmlSchemaPtr schema;
@@ -38,7 +40,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.024357 seconds and 4 git commands to generate.