From 56414594cc21a1b7308e192db867460eb3614081 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sun, 7 Aug 2016 12:23:28 +0200 Subject: [PATCH] build: ensure clang won't complain about documentation of linux headers --- src/daemon/lldpd.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5