summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormillert <>2005-11-15 11:56:40 +0000
committermillert <>2005-11-15 11:56:40 +0000
commit5aae9fa1f07b086b852d9795330efd3d419d8804 (patch)
treea89231b875d52194a2c836adb6f4bd6bc0ab4886 /src
parentdce25ef8a136d51b08acc296985e716caf3fa2ac (diff)
downloadopenbsd-5aae9fa1f07b086b852d9795330efd3d419d8804.tar.gz
openbsd-5aae9fa1f07b086b852d9795330efd3d419d8804.tar.bz2
openbsd-5aae9fa1f07b086b852d9795330efd3d419d8804.zip
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 'src')
-rw-r--r--src/lib/libc/include/thread_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/include/thread_private.h b/src/lib/libc/include/thread_private.h
index edac6b008d..9fbadce008 100644
--- a/src/lib/libc/include/thread_private.h
+++ b/src/lib/libc/include/thread_private.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: thread_private.h,v 1.16 2004/06/07 21:11:23 marc Exp $ */ 1/* $OpenBSD: thread_private.h,v 1.17 2005/11/15 11:56:40 millert Exp $ */
2 2
3/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */ 3/* PUBLIC DOMAIN: No Rights Reserved. Marco S Hyman <marc@snafu.org> */
4 4
@@ -91,6 +91,7 @@ extern void *__THREAD_NAME(serv_mutex);
91#define FD_WRITE 0x2 91#define FD_WRITE 0x2
92#define FD_RDWR (FD_READ | FD_WRITE) 92#define FD_RDWR (FD_READ | FD_WRITE)
93 93
94struct timespec;
94int _thread_fd_lock(int, int, struct timespec *); 95int _thread_fd_lock(int, int, struct timespec *);
95void _thread_fd_unlock(int, int); 96void _thread_fd_unlock(int, int);
96 97