rtld_lock.h: Expand scope for IN_RTLD to avoid some conflicts with libc

(cherry picked from commit 34ca6025dd)
This commit is contained in:
Konstantin Belousov 2021-04-05 07:12:22 +03:00
parent d252df1e11
commit 520806c476

View file

@ -46,10 +46,14 @@ struct RtldLockInfo
void (*at_fork)(void);
};
#if defined(IN_RTLD) || defined(PTHREAD_KERNEL)
void _rtld_thread_init(struct RtldLockInfo *) __exported;
void _rtld_atfork_pre(int *) __exported;
void _rtld_atfork_post(int *) __exported;
#endif /* IN_RTLD || PTHREAD_KERNEL */
#ifdef IN_RTLD
struct rtld_lock;