Avoid pass-by-reference in C-style ABI of libnetd_resolv
This is in preparation to enabling the ABI checker on libnetd_resolv.
Switching resolv_init()'s argument from reference to pointer is
technically an ABI change, but in practice most calling conventions
pass pointers and references exactly the same way (I verified only
aarch64).
Test: as follows:
- build libnetd_resolv
- install on system with old netd binary
- reboot
- atest resolv_integration_test
Bug: 133117690
Merged-In: Iebf385036010b4065afe74209a9f7cf021ca5a20
Change-Id: I5f5c987271f3dadd94085e591c68e365482b9b3a
(cherry picked from commit 3a221bdedb249666bcb195173e7f853d5d3ab512)
2 files changed