diff options
| author | millert <> | 2005-11-15 11:56:40 +0000 |
|---|---|---|
| committer | millert <> | 2005-11-15 11:56:40 +0000 |
| commit | 5aae9fa1f07b086b852d9795330efd3d419d8804 (patch) | |
| tree | a89231b875d52194a2c836adb6f4bd6bc0ab4886 /src/lib/libc | |
| parent | dce25ef8a136d51b08acc296985e716caf3fa2ac (diff) | |
| download | openbsd-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 '')
| -rw-r--r-- | src/lib/libc/include/thread_private.h | 3 |
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 | ||
| 94 | struct timespec; | ||
| 94 | int _thread_fd_lock(int, int, struct timespec *); | 95 | int _thread_fd_lock(int, int, struct timespec *); |
| 95 | void _thread_fd_unlock(int, int); | 96 | void _thread_fd_unlock(int, int); |
| 96 | 97 | ||
