Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c19a4645 authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

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

Change-Id: Iebf385036010b4065afe74209a9f7cf021ca5a20
parent 74c2a01f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment