about summary refs log tree commit diff
path: root/resolv/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-19 07:55:27 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-19 07:56:21 +0200
commit08d4a98070c4c4f69c6d04f483d105121effba08 (patch)
tree8385e0e0976dbef1d62a28cb7dca51bbf47e3331 /resolv/Makefile
parent17d0407a5cac70652f3544e59505c1712b36fd1a (diff)
downloadglibc-08d4a98070c4c4f69c6d04f483d105121effba08.tar.gz
glibc-08d4a98070c4c4f69c6d04f483d105121effba08.tar.xz
glibc-08d4a98070c4c4f69c6d04f483d105121effba08.zip
resolv: Move ns_makecanon into its own file, and into libc
But only as an internal symbol, __libc_ns_makecanon.  The libresolv
ABI is preserved.  This is because the function is deprecated, and
it does not make sense to add new symbol versions for deprecated
functions.

Also reformat the implementation to GNU style.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'resolv/Makefile')
-rw-r--r--resolv/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index 221bdc153d..d1ad5e4cba 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -35,6 +35,7 @@ routines := \
   inet_addr \
   inet_ntop \
   inet_pton \
+  ns_makecanon \
   ns_name_compress \
   ns_name_ntop \
   ns_name_pack \
@@ -151,6 +152,7 @@ libresolv-routines := \
   res_mkquery \
   res_query \
   res_send \
+  resolv-deprecated \
   # libresolv-routines
 
 $(libanl-routines-var) += \