diff options
author | mtm <mtm@FreeBSD.org> | 2003-05-23 09:48:20 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-05-23 09:48:20 +0000 |
commit | 6356a9c88e04455186a9b6d683ace14dadb891b7 (patch) | |
tree | a5c7ab227f8b7ea35430bf21cc7cafe1b6b756f3 /lib/libthr/thread/thr_syscalls.c | |
parent | 7f8de979fc762dc4b610f5f1bc9b9845a9c638a2 (diff) | |
download | FreeBSD-src-6356a9c88e04455186a9b6d683ace14dadb891b7.zip FreeBSD-src-6356a9c88e04455186a9b6d683ace14dadb891b7.tar.gz |
Make WARNS2 clean. The fixes mostly included:
o removed unused variables
o explicit inclusion of header files
o prototypes for externally defined functions
Approved by: re/blanket libthr
Diffstat (limited to 'lib/libthr/thread/thr_syscalls.c')
-rw-r--r-- | lib/libthr/thread/thr_syscalls.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libthr/thread/thr_syscalls.c b/lib/libthr/thread/thr_syscalls.c index d8fa348..f5c609a 100644 --- a/lib/libthr/thread/thr_syscalls.c +++ b/lib/libthr/thread/thr_syscalls.c @@ -90,6 +90,16 @@ #include "thr_private.h" +extern int __creat(const char *, mode_t); +extern int __sleep(unsigned int); +extern int __sys_nanosleep(const struct timespec *, struct timespec *); +extern int __sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *); +extern int __system(const char *); +extern int __tcdrain(int); +extern pid_t __wait(int *); +extern pid_t _wait4(pid_t, int *, int, struct rusage *); +extern pid_t __waitpid(pid_t, int *, int); + __weak_reference(_aio_suspend, aio_suspend); int |