diff options
author | 2005-11-15 11:56:40 +0000 | |
---|---|---|
committer | 2005-11-15 11:56:40 +0000 | |
commit | 24ae9d99c1e8124b6301ee77188cfca7114a0df7 (patch) | |
tree | f0aecfe1927170a7017ddb689240aeb6493fd0b2 /lib/libc/include | |
parent | pci_intr* page (diff) | |
download | wireguard-openbsd-24ae9d99c1e8124b6301ee77188cfca7114a0df7.tar.xz wireguard-openbsd-24ae9d99c1e8124b6301ee77188cfca7114a0df7.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 '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); |