libc: centralize ntoh symbols

These are implemented by net/ntoh.c via headers and compiler intrinsics
so declare them in net/Symbol.map.

Reviewed by:	imp, kib, emaste
Differential Revision:	https://reviews.freebsd.org/D42615
This commit is contained in:
Brooks Davis 2023-11-15 23:40:54 +00:00
parent e4a1800f06
commit ff3a9d8e29
8 changed files with 4 additions and 28 deletions

View file

@ -17,10 +17,6 @@ FBSD_1.0 {
longjmp;
sigsetjmp;
siglongjmp;
htonl;
htons;
ntohl;
ntohs;
makecontext;
};

View file

@ -24,10 +24,6 @@ FBSD_1.0 {
longjmp;
sigsetjmp;
siglongjmp;
htonl;
htons;
ntohl;
ntohs;
amd64_get_fsbase;
amd64_get_gsbase;
amd64_set_fsbase;

View file

@ -16,10 +16,6 @@ FBSD_1.0 {
longjmp;
sigsetjmp;
siglongjmp;
htonl;
htons;
ntohl;
ntohs;
brk;
sbrk;
};

View file

@ -18,10 +18,6 @@ FBSD_1.0 {
longjmp;
sigsetjmp;
siglongjmp;
htonl;
htons;
ntohl;
ntohs;
brk;
i386_clr_watch;
i386_get_fsbase;

View file

@ -64,6 +64,10 @@ FBSD_1.0 {
hes_resolve;
hes_error;
hes_free;
htonl;
htons;
ntohl;
ntohs;
if_indextoname;
if_nameindex;
if_freenameindex;

View file

@ -21,10 +21,6 @@ FBSD_1.0 {
longjmp;
sigsetjmp;
siglongjmp;
htonl;
htons;
ntohl;
ntohs;
brk;
sbrk;
};

View file

@ -21,10 +21,6 @@ FBSD_1.0 {
longjmp;
sigsetjmp;
siglongjmp;
htonl;
htons;
ntohl;
ntohs;
brk;
sbrk;
};

View file

@ -16,10 +16,6 @@ FBSD_1.0 {
longjmp;
sigsetjmp;
siglongjmp;
htonl;
htons;
ntohl;
ntohs;
makecontext;
};