From: Arran Cudbard-Bell Date: Wed, 10 Mar 2021 19:13:05 +0000 (+0000) Subject: Ignore documentation issues in talloc headers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b65415f985bdb4a823afd5d7e1acac4de4314f0b;p=thirdparty%2Ffreeradius-server.git Ignore documentation issues in talloc headers --- diff --git a/src/lib/util/talloc.h b/src/lib/util/talloc.h index c0491f3aa6e..1623bb903c5 100644 --- a/src/lib/util/talloc.h +++ b/src/lib/util/talloc.h @@ -34,7 +34,14 @@ extern "C" { #include #include #include + +#ifdef HAVE_WDOCUMENTATION +DIAG_OFF(documentation) +#endif #include +#ifdef HAVE_WDOCUMENTATION +DIAG_ON(documentation) +#endif #undef talloc_autofree_context /** The original function is deprecated, so replace it with our version