diff options
| author | Nick Desaulniers <[email protected]> | 2022-04-04 10:54:47 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-04-06 13:48:02 +0100 |
| commit | 1ee375d77bb944321c969b456aa73994566cecf6 (patch) | |
| tree | 60647cbf24df54d70ca341326fb64e4222803c08 /tools/perf/scripts/python/compaction-times.py | |
| parent | f4b41f062c424209e3939a81e6da022e049a45f2 (diff) | |
net, uapi: remove inclusion of arpa/inet.h
In include/uapi/linux/tipc_config.h, there's a comment that it includes
arpa/inet.h for ntohs; but ntohs is not defined in any UAPI header. For
now, reuse the definitions from include/linux/byteorder/generic.h, since
the various conversion functions do exist in UAPI headers:
include/uapi/linux/byteorder/big_endian.h
include/uapi/linux/byteorder/little_endian.h
We would like to get to the point where we can build UAPI header tests
with -nostdinc, meaning that kernel UAPI headers should not have a
circular dependency on libc headers.
Link: https://android-review.googlesource.com/c/platform/bionic/+/2048127
Suggested-by: Jakub Kicinski <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions