summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_fd.c
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2001-08-30 17:47:57 +0000
committertodd <todd@openbsd.org>2001-08-30 17:47:57 +0000
commitcd74a012b845ae044cd9f1e0ae04b79ba469b17c (patch)
tree96905b28700700d58fd75b2a3cd649fd47e7510b /lib/libpthread/uthread/uthread_fd.c
parento kill register (diff)
downloadwireguard-openbsd-cd74a012b845ae044cd9f1e0ae04b79ba469b17c.tar.xz
wireguard-openbsd-cd74a012b845ae044cd9f1e0ae04b79ba469b17c.zip
Back out fgsch@'s tree breaking commits.
Test next time, ok?
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 519ba114fc3..7ea5ef0d6c8 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.8 2001/08/30 07:40:47 fgsch Exp $ */
+/* $OpenBSD: uthread_fd.c,v 1.9 2001/08/30 17:47:57 todd 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, char *fname, int lineno)
+_thread_fd_unlock_debug(int fd, int lock_type, const char *fname, int lineno)
{
struct pthread *curthread = _get_curthread();
int ret;
@@ -577,7 +577,7 @@ _thread_fd_unlock_debug(int fd, int lock_type, char *fname, int lineno)
int
_thread_fd_lock_debug(int fd, int lock_type, struct timespec * timeout,
- char *fname, int lineno)
+ const char *fname, int lineno)
{
struct pthread *curthread = _get_curthread();
int ret;