mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
rtld_lock.h: Expand scope for IN_RTLD to avoid some conflicts with libc
(cherry picked from commit 34ca6025dd)
This commit is contained in:
parent
d252df1e11
commit
520806c476
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue