about summary refs log tree commit diff
path: root/resolv/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-07-15 08:28:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-07-15 09:00:27 +0200
commit820bb23ff074db8255217ab01b51f28c96ec76a9 (patch)
tree14bb3922ac81a76d8f2124215682644a4a05e96c /resolv/Makefile
parentee3639e0fe61a3692adf660e04f9e6d56475ff52 (diff)
downloadglibc-820bb23ff074db8255217ab01b51f28c96ec76a9.tar.gz
glibc-820bb23ff074db8255217ab01b51f28c96ec76a9.tar.xz
glibc-820bb23ff074db8255217ab01b51f28c96ec76a9.zip
resolv: Move ns_name_unpack to its own file and into libc
Reformat to GNU style. Avoid out-of-bounds buffer arithmetic.
Eliminate the labellen function.

The symbol was moved using scripts/move-symbol-to-libc.py.

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/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/resolv/Makefile b/resolv/Makefile
index bb16175654..469a9a55ae 100644
--- a/resolv/Makefile
+++ b/resolv/Makefile
@@ -33,6 +33,7 @@ routines := \
   inet_ntop \
   inet_pton \
   ns_name_ntop \
+  ns_name_unpack \
   nsap_addr \
   res-close \
   res-state \