diff options
Diffstat (limited to 'src/internal')
| -rw-r--r-- | src/internal/libc.h | 3 | ||||
| -rw-r--r-- | src/internal/pthread_impl.h | 3 | 
2 files changed, 5 insertions, 1 deletions
| diff --git a/src/internal/libc.h b/src/internal/libc.h index be88dc04..c0039e77 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -10,7 +10,6 @@ struct __libc {  	void (*lock)(volatile int *);  	void (*lockfile)(FILE *);  	void (*fork_handler)(int); -	int (*rsyscall)(int, long, long, long, long, long, long);  	int (*atexit)(void (*)(void));  	void (*fini)(void);  	void (*ldso_fini)(void); @@ -48,6 +47,8 @@ void __lockfile(FILE *);  #define CANCELPT_INHIBIT CANCELPT(2)  #define CANCELPT_RESUME CANCELPT(-2) +int __rsyscall(int, long, long, long, long, long, long); +  extern char **__environ;  #define environ __environ diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 7ab6243d..0bcc54cc 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -86,6 +86,9 @@ int __timedwait(volatile int *, int, clockid_t, const struct timespec *, int);  void __wait(volatile int *, volatile int *, int, int);  void __wake(volatile int *, int, int); +void __rsyscall_lock(); +void __rsyscall_unlock(); +  #define DEFAULT_STACK_SIZE (16384-PAGE_SIZE)  #define DEFAULT_GUARD_SIZE PAGE_SIZE | 
