diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-11-15 11:56:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-11-15 11:56:41 +0000 |
commit | 9713ce1e96e3ec24afc8cdb9b31e8709285c9503 (patch) | |
tree | d0aa78c602d06f852def8e7ed6f6b4c2a65c42e7 /lib/libc/include | |
parent | edd30b0f1cb8c968c054c871146e068cf4a9d45f (diff) |
Use a forward declaration of struct timespec instead of assuming
it has already been defined by previous includes. While this
is true at the moment, it will no longer be true after a pending
includes cleanup. OK marc@
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/thread_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/include/thread_private.h b/lib/libc/include/thread_private.h index edac6b008d0..9fbadce008e 100644 --- a/lib/libc/include/thread_private.h +++ b/lib/libc/include/thread_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: thread_private.h,v 1.16 2004/06/07 21:11:23 marc Exp $ */ +/* $OpenBSD: thread_private.h,v 1.17 2005/11/15 11:56:40 millert Exp $ */ /* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ @@ -91,6 +91,7 @@ extern void *__THREAD_NAME(serv_mutex); #define FD_WRITE 0x2 #define FD_RDWR (FD_READ | FD_WRITE) +struct timespec; int _thread_fd_lock(int, int, struct timespec *); void _thread_fd_unlock(int, int); |