X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Fxml-utils%2Fvalidate_xml.cpp;h=fa8b2cc9d5d524995e91f8b7837eae29c8cb3c2b;hb=4b2b86f24a5f734f6a6564b2b1e7ac6f10e32dfa;hp=bb67e56e17edea75706b56c50ec072c49f2433be;hpb=729c1fec5976af17fded2f026725a08ef1924290;p=lttng-tools.git diff --git a/tests/utils/xml-utils/validate_xml.cpp b/tests/utils/xml-utils/validate_xml.cpp index bb67e56e1..fa8b2cc9d 100644 --- a/tests/utils/xml-utils/validate_xml.cpp +++ b/tests/utils/xml-utils/validate_xml.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2014 Jonathan Rajotte + * Copyright (C) 2014 EfficiOS Inc. * * SPDX-License-Identifier: LGPL-2.1-only * @@ -27,6 +27,8 @@ #include #include +#include + 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;