Move getnameinfo from 'inet' to 'nss'

getnameinfo is an entry points for nss functionality.  This commit moves
it from the 'inet' subdirectory to 'nss'.  The corresponding Versions
entry is also moved from 'posix' into 'nss'.
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Arjun Shankar 2023-10-02 14:55:28 +02:00
parent 7f602256ab
commit 2f1c6652d7
5 changed files with 6 additions and 3 deletions

View File

@ -47,7 +47,6 @@ routines := \
ether_ntoa \ ether_ntoa \
ether_ntoa_r \ ether_ntoa_r \
getipv4sourcefilter \ getipv4sourcefilter \
getnameinfo \
getsourcefilter \ getsourcefilter \
herrno \ herrno \
herrno-loc \ herrno-loc \

View File

@ -136,6 +136,7 @@ routines += \
gethstbynm_r \ gethstbynm_r \
gethstent \ gethstent \
gethstent_r \ gethstent_r \
getnameinfo \
# routines # routines
ifeq ($(have-thread-library),yes) ifeq ($(have-thread-library),yes)

View File

@ -58,6 +58,9 @@ libc {
ulckpwdf; ulckpwdf;
} }
GLIBC_2.1 { GLIBC_2.1 {
# g*
getnameinfo;
# p* # p*
putgrent; putgrent;
} }

View File

@ -71,7 +71,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/utsname.h> #include <sys/utsname.h>
#include <libc-lock.h> #include <libc-lock.h>
#include <scratch_buffer.h> #include <scratch_buffer.h>
#include <net-internal.h> #include <inet/net-internal.h>
#include <set-freeres.h> #include <set-freeres.h>
#ifndef min #ifndef min

View File

@ -72,7 +72,7 @@ libc {
__pread64; __pwrite64; __pread64; __pwrite64;
# g* # g*
gai_strerror; getnameinfo; glob64; globfree64; gai_strerror; glob64; globfree64;
# p* # p*
pread; pread64; pwrite; pwrite64; pread; pread64; pwrite; pwrite64;