dist/modstat -l doesn't show static functions. Example output:
$ modstat -l txn/txn_ckpt.c == Functions: /Users/y.ershov/src/wt-access-check/src/txn/txn_ckpt.c:420:1: function [txn] '__wt_checkpoint_get_handles': public /Users/y.ershov/src/wt-access-check/src/txn/txn_ckpt.c:637:1: function [txn] '__wt_checkpoint_progress': public /Users/y.ershov/src/wt-access-check/src/txn/txn_ckpt.c:1593:1: function [txn] '__wt_txn_checkpoint': public /Users/y.ershov/src/wt-access-check/src/txn/txn_ckpt.c:2257:1: function [txn] '__wt_checkpoint_tree_reconcile_update': public /Users/y.ershov/src/wt-access-check/src/txn/txn_ckpt.c:2588:1: function [txn] '__wt_checkpoint': public /Users/y.ershov/src/wt-access-check/src/txn/txn_ckpt.c:2628:1: function [txn] '__wt_checkpoint_sync': public /Users/y.ershov/src/wt-access-check/src/txn/txn_ckpt.c:2652:1: function [txn] '__wt_checkpoint_close': public