From: Vincent Bernat Date: Sun, 7 Aug 2016 10:23:28 +0000 (+0200) Subject: build: ensure clang won't complain about documentation of linux headers X-Git-Tag: 0.9.5~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56414594cc21a1b7308e192db867460eb3614081;p=thirdparty%2Flldpd.git build: ensure clang won't complain about documentation of linux headers --- diff --git a/src/daemon/lldpd.h b/src/daemon/lldpd.h index 19091d2d..455ba8b2 100644 --- a/src/daemon/lldpd.h +++ b/src/daemon/lldpd.h @@ -38,7 +38,14 @@ #include #ifdef HOST_OS_LINUX +# if defined(__clang__) +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-Wdocumentation" +# endif # include +# if defined(__clang__) +# pragma clang diagnostic pop +# endif #endif #if HAVE_VFORK_H