mirror of https://github.com/getdnsapi/getdns.git
Don't export symbols that can be inline
Thanks Geoff Huston
This commit is contained in:
parent
eb12410524
commit
a16abce887
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue