summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread/uthread_fd.c
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2001-08-30 07:40:47 +0000
committerfgsch <fgsch@openbsd.org>2001-08-30 07:40:47 +0000
commit528f4536a6ed082030054573aa8809652f56e2b3 (patch)
tree1fa20fdae6720f94dd4a26dd9def589870697529 /lib/libpthread/uthread/uthread_fd.c
parentfix some const warnings (diff)
downloadwireguard-openbsd-528f4536a6ed082030054573aa8809652f56e2b3.tar.xz
wireguard-openbsd-528f4536a6ed082030054573aa8809652f56e2b3.zip
fix some const warnings.
more sync with freebsd.
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 b49a3cda8fb..519ba114fc3 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.7 2001/08/21 19:24:53 fgsch Exp $ */
+/* $OpenBSD: uthread_fd.c,v 1.8 2001/08/30 07:40:47 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;