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.
15 lines
449 B
C
15 lines
449 B
C
#ifndef TIME_H
|
|
#define TIME_H
|
|
|
|
#include "../../include/time.h"
|
|
|
|
hidden int __clock_gettime(clockid_t, struct timespec *);
|
|
|
|
hidden char *__asctime_r(const struct tm *, char *);
|
|
hidden struct tm *__gmtime_r(const time_t *restrict, struct tm *restrict);
|
|
hidden struct tm *__localtime_r(const time_t *restrict, struct tm *restrict);
|
|
|
|
hidden size_t __strftime_l(char *restrict, size_t, const char *restrict, const struct tm *restrict, locale_t);
|
|
|
|
#endif
|