summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_fd.c
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2001-09-04 22:17:44 +0000
committerfgsch <fgsch@openbsd.org>2001-09-04 22:17:44 +0000
commit76255b28fcbd9cdd77f49c23b6b60f68de906f88 (patch)
tree8b1adfbd865f3ad766fe5ed55b5dc298f9670823 /lib/libpthread/uthread/uthread_fd.c
parentFix a diagnostic (diff)
downloadwireguard-openbsd-76255b28fcbd9cdd77f49c23b6b60f68de906f88.tar.xz
wireguard-openbsd-76255b28fcbd9cdd77f49c23b6b60f68de906f88.zip
put changes back, this time ALL the files.
Diffstat (limited to 'lib/libpthread/uthread/uthread_fd.c')
-rw-r--r--lib/libpthread/uthread/uthread_fd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/uthread/uthread_fd.c b/lib/libpthread/uthread/uthread_fd.c
index 7ea5ef0d6c8..0338ab4602e 100644
--- a/lib/libpthread/uthread/uthread_fd.c
+++ b/lib/libpthread/uthread/uthread_fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_fd.c,v 1.9 2001/08/30 17:47:57 todd Exp $ */
+/* $OpenBSD: uthread_fd.c,v 1.10 2001/09/04 22:17:45 fgsch Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -453,7 +453,7 @@ _thread_fd_lock(int fd, int lock_type, struct timespec * timeout)
}
void
-_thread_fd_unlock_debug(int fd, int lock_type, const char *fname, int lineno)
+_thread_fd_unlock_debug(int fd, int lock_type, char *fname, int lineno)
{
struct pthread *curthread = _get_curthread();
int ret;
@@ -577,7 +577,7 @@ _thread_fd_unlock_debug(int fd, int lock_type, const char *fname, int lineno)
int
_thread_fd_lock_debug(int fd, int lock_type, struct timespec * timeout,
- const char *fname, int lineno)
+ char *fname, int lineno)
{
struct pthread *curthread = _get_curthread();
int ret;