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
285 B
C
13 lines
285 B
C
#ifndef STDLIB_H
|
|
#define STDLIB_H
|
|
|
|
#include "../../include/stdlib.h"
|
|
|
|
hidden int __putenv(char *, size_t, char *);
|
|
hidden void __env_rm_add(char *, char *);
|
|
hidden int __mkostemps(char *, int, int);
|
|
hidden int __ptsname_r(int, char *, size_t);
|
|
hidden char *__randname(char *);
|
|
|
|
#endif
|