mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-13 14:50:17 +00:00
43b7dfd1b6
Hide internal idna functions to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/idna.h: New file. * inet/getnameinfo.c: Include <idna.h> instead of <libidn/idna.h>. (__idna_to_unicode_lzlz): Removed. * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of <libidn/idna.h>. (__idna_to_ascii_lz): Removed. (__idna_to_unicode_lzlz): Likewise.
9 lines
208 B
C
9 lines
208 B
C
#ifndef _IDNA_H
|
|
#include <libidn/idna.h>
|
|
|
|
extern __typeof (idna_to_ascii_lz) __idna_to_ascii_lz attribute_hidden;
|
|
extern __typeof (idna_to_unicode_lzlz ) __idna_to_unicode_lzlz
|
|
attribute_hidden;
|
|
|
|
#endif
|