not all prefixed symbols can be made hidden. some are part of ABI-compat (e.g. __nl_langinfo_l) and others are ABI as a consequence of the way copy relocations for weak aliases work in ELF shared libraries. most, however, can be made hidden. with this commit, there should be no remaining unintentionally visible symbols exported from libc.so.
13 lines
493 B
C
13 lines
493 B
C
#ifndef RESOLV_H
|
|
#define RESOLV_H
|
|
|
|
#include "../../include/resolv.h"
|
|
|
|
hidden int __dn_expand(const unsigned char *, const unsigned char *, const unsigned char *, char *, int);
|
|
|
|
hidden int __res_mkquery(int, const char *, int, int, const unsigned char *, int, const unsigned char*, unsigned char *, int);
|
|
hidden int __res_send(const unsigned char *, int, unsigned char *, int);
|
|
hidden int __res_msend(int, const unsigned char *const *, const int *, unsigned char *const *, int *, int);
|
|
|
|
#endif
|