From: Mark Wooding Date: Thu, 19 Sep 2019 20:01:22 +0000 (+0000) Subject: log.c: Spray extra `FORMAT(...)' attributes to muffle Clang warnings. X-Git-Tag: v0.4.5~5 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/commitdiff_plain/5ffc82e77c4ba6b9cb7bd93f4bd76798c085128e?hp=5ffc82e77c4ba6b9cb7bd93f4bd76798c085128e log.c: Spray extra `FORMAT(...)' attributes to muffle Clang warnings. Clang gets really upset about non-literal format strings, unless it can check from the function attributes that you're playing by the rules. I've taken the liberty of simplifying the annotations on static functions: rather than duplicating the entire argument list, it suffices to attach the attribute to the start of the function definition. Signed-off-by: Mark Wooding Acked-by: Ian Jackson ---