diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/check-exports.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/check-exports.sh b/tools/check-exports.sh index dfd882c15b..0022752280 100755 --- a/tools/check-exports.sh +++ b/tools/check-exports.sh @@ -18,9 +18,7 @@ get_syms() { } get_syms_from_def() { - # be strict and only parse entries that start with one \t and end with a ';' - sed -n 's/^\t\([_a-zA-Z0-9]\+\);$/\1/p' "$1" | - grep '^\*$' -v | + sed -n 's/^\t\(\([_a-zA-Z0-9]\+\)\|#\s*\([_a-zA-Z0-9]\+@@\?[_a-zA-Z0-9]\+\)\);$/\2\3/p' "$1" | sort } |