diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-06-25 10:20:41 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-06-25 10:20:41 +0200 |
commit | 2be57618628c15335df07e53e6045b81ef91205b (patch) | |
tree | 030bdb3bbf0d85db85a54cc07bdbffe5782bafe5 | |
parent | 83887de40b3e9bd18fd35b37bbde2038ca9bda0a (diff) |
Handle 'extern "C" {' in check_libmap.sh
-rwxr-xr-x | check_libmap.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_libmap.sh b/check_libmap.sh index be2a3d3..c8931f9 100755 --- a/check_libmap.sh +++ b/check_libmap.sh @@ -5,7 +5,7 @@ for file in include/libipset/*.h; do esac grep ^extern $file | sed -r -e 's/\(.*//' -e 's/.* \*?//' | egrep -v '\[|\;' done | while read symbol; do - if [ -z "$symbol" ]; then + if [ -z "$symbol" -o "$symbol" = '{' ]; then continue fi if [ -z "`grep \" $symbol\;\" lib/libipset.map`" ]; then |