Git rid of * if in libgetdns.symbols

This commit is contained in:
Willem Toorop 2019-01-07 12:08:26 +01:00
parent a4020a6841
commit 411c5cf571
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
* if
getdns_address getdns_address
getdns_address_sync getdns_address_sync
getdns_cancel_callback getdns_cancel_callback

View File

@ -3,7 +3,7 @@
write_symbols() { write_symbols() {
OUTPUT=$1 OUTPUT=$1
shift shift
grep -h 'getdns_[0-9a-zA-Z_]*(' $* | grep -v '^#' | grep -v 'INLINE' | grep -v 'getdns_extra\.h\.in: \* if' \ grep -h 'getdns_[0-9a-zA-Z_]*(' $* | grep -v '^#' | grep -v 'INLINE' | grep -v '^ \* if' \
| sed -e 's/(.*$//g' -e 's/^.*getdns_/getdns_/g' | LC_ALL=C sort | uniq > $OUTPUT | sed -e 's/(.*$//g' -e 's/^.*getdns_/getdns_/g' | LC_ALL=C sort | uniq > $OUTPUT
} }