From 5aae9fa1f07b086b852d9795330efd3d419d8804 Mon Sep 17 00:00:00 2001 From: millert <> Date: Tue, 15 Nov 2005 11:56:40 +0000 Subject: 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@ --- src/lib/libc/include/thread_private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') 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 @@ -/* $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 */ @@ -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); -- cgit v1.2.3-55-g6feb