<arpa/nameser.h>: rationalize __INTRODUCED_IN.
Investigation shows that the symbols that claimed to have been in 32-bit
builds one API level earlier than in 64-bit builds actually weren't ---
everything was actually API level 22. This patch fixes the libc.map.txt
to match reality, and then simplifies the __INTRODUCED_IN()
incantations.
Investigation also shows that we have a bunch of unused #defines, so
this patch removes the ones that don't correspond to functions we
actually expose.
Test: treehugger
Change-Id: I540dd0d1d9561cac17c55eb68a07bed58dd718fa
diff --git a/libc/libc.map.txt b/libc/libc.map.txt
index 0102b30..c8bd5d6 100644
--- a/libc/libc.map.txt
+++ b/libc/libc.map.txt
@@ -74,28 +74,28 @@
__memrchr_chk; # introduced=23
__memset_chk; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
__mmap2; # arm x86
- __ns_format_ttl; # arm x86
- __ns_get16; # arm x86
- __ns_get32; # arm x86
- __ns_initparse; # arm x86
- __ns_makecanon; # arm x86
- __ns_msg_getflag; # arm x86
- __ns_name_compress; # arm x86
- __ns_name_ntol; # arm x86
- __ns_name_ntop; # arm x86
- __ns_name_pack; # arm x86
- __ns_name_pton; # arm x86
- __ns_name_rollback; # arm x86
- __ns_name_skip; # arm x86
- __ns_name_uncompress; # arm x86
- __ns_name_unpack; # arm x86
- __ns_parserr; # arm x86
- __ns_put16; # arm x86
- __ns_put32; # arm x86
- __ns_samename; # arm x86
- __ns_skiprr; # arm x86
- __ns_sprintrr; # arm x86
- __ns_sprintrrf; # arm x86
+ __ns_format_ttl; # arm x86 introduced=22
+ __ns_get16; # arm x86 introduced=22
+ __ns_get32; # arm x86 introduced=22
+ __ns_initparse; # arm x86 introduced=22
+ __ns_makecanon; # arm x86 introduced=22
+ __ns_msg_getflag; # arm x86 introduced=22
+ __ns_name_compress; # arm x86 introduced=22
+ __ns_name_ntol; # arm x86 introduced=22
+ __ns_name_ntop; # arm x86 introduced=22
+ __ns_name_pack; # arm x86 introduced=22
+ __ns_name_pton; # arm x86 introduced=22
+ __ns_name_rollback; # arm x86 introduced=22
+ __ns_name_skip; # arm x86 introduced=22
+ __ns_name_uncompress; # arm x86 introduced=22
+ __ns_name_unpack; # arm x86 introduced=22
+ __ns_parserr; # arm x86 introduced=22
+ __ns_put16; # arm x86 introduced=22
+ __ns_put32; # arm x86 introduced=22
+ __ns_samename; # arm x86 introduced=22
+ __ns_skiprr; # arm x86 introduced=22
+ __ns_sprintrr; # arm x86 introduced=22
+ __ns_sprintrrf; # arm x86 introduced=22
__open_2; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21
__openat; # arm x86
__openat_2; # introduced-arm=17 introduced-arm64=21 introduced-x86=17 introduced-x86_64=21