2 for file in include/libipset/*.h; do
6 grep ^extern $file | sed -r -e 's/\(.*//' -e 's/.* \*?//' | egrep -v '\[|\;'
7 done | while read symbol; do
8 if [ -z "$symbol" -o "$symbol" = '{' ]; then
11 if [ -z "`grep \" $symbol\;\" lib/libipset.map`" ]; then
12 echo "Symbol $symbol is missing from libipset.map"