Imported Upstream version 0.1.17
[platform/upstream/libnice.git] / scripts / make-symbol-list.sh
1 #!/bin/sh
2 test -n "$1" || exit 1
3 nm --print-file-name --defined-only --extern-only "$1" | \
4         cut -d ' ' -f 2,3 | \
5         grep -v '^[rA]' | \
6         sort