From: Daan De Meyer Date: Sat, 11 Apr 2020 19:08:34 +0000 (+0200) Subject: meson: Exclude more deprecated functions from check-api-docs X-Git-Tag: v246-rc1~606^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb74579d096417bcaa8b74d7a3625ba45df97905;p=thirdparty%2Fsystemd.git meson: Exclude more deprecated functions from check-api-docs --- diff --git a/tools/meson-check-api-docs.sh b/tools/meson-check-api-docs.sh index c33672934da..2ba50108767 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