From eb74579d096417bcaa8b74d7a3625ba45df97905 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sat, 11 Apr 2020 21:08:34 +0200 Subject: [PATCH] meson: Exclude more deprecated functions from check-api-docs --- tools/meson-check-api-docs.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/meson-check-api-docs.sh b/tools/meson-check-api-docs.sh index c33672934d..2ba5010876 100755 --- a/tools/meson-check-api-docs.sh +++ b/tools/meson-check-api-docs.sh @@ -6,7 +6,14 @@ sd_total=0 udev_good=0 udev_total=0 -for symbol in `nm -g --defined-only "$@" | grep " T " | cut -d" " -f3 | grep -wv sd_bus_try_close | sort -u` ; do +deprecated=" + -e sd_bus_try_close + -e sd_bus_process_priority + -e sd_bus_message_get_priority + -e sd_bus_message_set_priority +" + +for symbol in `nm -g --defined-only "$@" | grep " T " | cut -d" " -f3 | grep -wv $deprecated | sort -u` ; do if test -f ${MESON_BUILD_ROOT}/man/$symbol.3 ; then echo "✓ Symbol $symbol() is documented." good=1