From c3dd7e380ee3ca227730ab6a8daa4e35ad4f004e Mon Sep 17 00:00:00 2001 From: deischen Date: Mon, 29 Jan 2001 03:24:23 +0000 Subject: _exit in libc is now __sys_exit not __sys__exit. Add another check for thread library initialization (jdp, we really need a way to get _thread_init called at program start before any constructors are run). --- lib/libpthread/thread/thr_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libpthread/thread/thr_private.h') diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h index 688a2b3..66f8121 100644 --- a/lib/libpthread/thread/thr_private.h +++ b/lib/libpthread/thread/thr_private.h @@ -1281,8 +1281,8 @@ void _thread_enter_cancellation_point(void); void _thread_leave_cancellation_point(void); void _thread_cancellation_point(void); -/* #include */ -#ifdef _AIO_H_ +/* #include */ +#ifdef _SYS_AIO_H_ int __sys_aio_suspend(const struct aiocb **, int, const struct timespec); #endif @@ -1349,7 +1349,7 @@ int __sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); long __sys_fpathconf(int, int); ssize_t __sys_read(int, void *, size_t); ssize_t __sys_write(int, const void *, size_t); -void __sys__exit(int); +void __sys_exit(int); #endif /* #include */ -- cgit v1.1