summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_fd.c
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-30 07:40:48 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-08-30 07:40:48 +0000
commit170995a1ce142b2c1aba409e075ace0d01198fc8 (patch)
treee94c2a564d4f66d9cc516fe90f42b8af0275e605 /lib/libpthread/uthread/uthread_fd.c
parentb9a6bccdad5f3d2f0c9e0ed1d2d665ee341d056c (diff)
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;