Commit graph android_packages_modules_Co.../staticlibs/netd/libnetdutils/InternetAddresses.cpp
Message SHA1
Fix build with ToT libc++
packages/modules/Connectivity/staticlibs/netd/libnetdutils/InternetAddresses.cpp:140:31: error: use of undeclared identifier 'strtoul'
  140 |     unsigned long prefixlen = strtoul(prefixString, &endptr, 10);
      |

Test: Build with ToT libc++
Change-Id: I12e66d27897d11e6d6ace36312ef6b80b29d069e

Yi Kong   commited 2024-05-24 00:51:02 +09:00
0b75fb9cba
[NETD-BPF#1] Move libnetdutils to frameworks/libs/net/...
libnetdutils is referenced by netd.c and TrafficController.cpp, which
are going to be mainlined. Therefore, move libnetdutils to a common
place where both mainline module and platform code (Netd) can refer to.

Bug: 202086915
Test: build; flash; cd system/netd; atest
Ignore-AOSP-First: the netd change(same topic) would not automerge from
aosp.
No-Typo-Check: Clean code move with no other changes.
BYPASS_INCLUSIVE_LANGUAGE_REASON=Clean code move with no other changes.
Change-Id: I645bfe35f6543149c9a9f894cd4158d27a481abe

Ken Chen   commited 2021-11-23 03:26:37 +00:00
d27d6c9062