Don't export symbols that can be inline

Thanks Geoff Huston
This commit is contained in:
Willem Toorop 2014-11-03 15:17:14 +01:00
parent eb12410524
commit a16abce887
2 changed files with 1 additions and 2 deletions

View File

@ -94,7 +94,6 @@ getdns_dict_util_get_string
getdns_context_set_use_threads
getdns_context_get_num_pending_requests
getdns_context_process_async
getdns_eventloop_event_init
getdns_context_set_eventloop
getdns_context_detach_eventloop
getdns_context_run

View File

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