diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-04-17 00:44:31 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-04-17 15:57:10 +0200 |
commit | f4be25579557eb2eb52d7236a5c47435b425b913 (patch) | |
tree | f47c5c18c34288a4f58863759168e051eed9d12b /srs-client | |
parent | 62c44b1600e4d89dffaa04936121e8568bb41cb3 (diff) | |
download | hardware_replicant_libsamsung-ril-f4be25579557eb2eb52d7236a5c47435b425b913.tar.gz hardware_replicant_libsamsung-ril-f4be25579557eb2eb52d7236a5c47435b425b913.tar.bz2 hardware_replicant_libsamsung-ril-f4be25579557eb2eb52d7236a5c47435b425b913.zip |
Fix implicit declaration of ipv4NetmaskToPrefixLength
Rationale for using extern:
---------------------------
The ipv4NetmaskToPrefixLength function is implemnted
in libnetutils/ifc_utils.c inside the android_system_core
repository[1].
In the lineage-16.0 branch[2]:
- ipv4NetmaskToPrefixLength is not declared in any
headers in this repository.
- In the same repository, libnetutils/dhcpclient.c uses extern
for the declaration of ipv4NetmaskToPrefixLength.
References:
-----------
[1]https://github.com/LineageOS/android_system_core
[2]At the time of writing it was at the following commit:
e7f238619 healthd: make periodic battery status a debug message
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'srs-client')
0 files changed, 0 insertions, 0 deletions