From 2be57618628c15335df07e53e6045b81ef91205b Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 25 Jun 2015 10:20:41 +0200 Subject: Handle 'extern "C" {' in check_libmap.sh --- check_libmap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3