diff options
author | jhb <jhb@FreeBSD.org> | 2005-05-31 19:57:23 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-05-31 19:57:23 +0000 |
commit | a64d1dbf3b3eef0cfd46ff90a615ae7c22f532ea (patch) | |
tree | 10f11c71d90bf71b15eac71971f9aa87194b3a0e /lib/libc_r | |
parent | b72dd3b4d23b0a660dee483e4e091e29b7672160 (diff) | |
download | FreeBSD-src-a64d1dbf3b3eef0cfd46ff90a615ae7c22f532ea.zip FreeBSD-src-a64d1dbf3b3eef0cfd46ff90a615ae7c22f532ea.tar.gz |
Mark _thread_exit() and __sys_exit() as __dead2 to quiet some warnings.
Diffstat (limited to 'lib/libc_r')
-rw-r--r-- | lib/libc_r/uthread/pthread_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h index 4addfdd..9e3c2ee 100644 --- a/lib/libc_r/uthread/pthread_private.h +++ b/lib/libc_r/uthread/pthread_private.h @@ -1253,7 +1253,7 @@ void _waitq_remove(pthread_t pthread); void _waitq_setactive(void); void _waitq_clearactive(void); #endif -void _thread_exit(char *, int, char *); +void _thread_exit(char *, int, char *) __dead2; void _thread_exit_cleanup(void); int _thread_fd_getflags(int); int _thread_fd_lock(int, int, struct timespec *); @@ -1393,7 +1393,7 @@ int __sys_close(int); int __sys_dup(int); int __sys_dup2(int, int); int __sys_execve(const char *, char * const *, char * const *); -void __sys_exit(int); +void __sys_exit(int) __dead2; int __sys_fchown(int, uid_t, gid_t); pid_t __sys_fork(void); long __sys_fpathconf(int, int); |