summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_spinlock.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_spinlock.c
parentb9a6bccdad5f3d2f0c9e0ed1d2d665ee341d056c (diff)
fix some const warnings.
more sync with freebsd.
Diffstat (limited to 'lib/libpthread/uthread/uthread_spinlock.c')
-rw-r--r--lib/libpthread/uthread/uthread_spinlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_spinlock.c b/lib/libpthread/uthread/uthread_spinlock.c
index 418ddcf3427..c958c463383 100644
--- a/lib/libpthread/uthread/uthread_spinlock.c
+++ b/lib/libpthread/uthread/uthread_spinlock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_spinlock.c,v 1.8 2001/08/21 19:24:53 fgsch Exp $ */
+/* $OpenBSD: uthread_spinlock.c,v 1.9 2001/08/30 07:40:47 fgsch Exp $ */
/*
* Copyright (c) 1997 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
@@ -79,7 +79,7 @@ _spinlock(spinlock_t *lck)
* returning.
*/
void
-_spinlock_debug(spinlock_t *lck, const char *fname, int lineno)
+_spinlock_debug(spinlock_t *lck, char *fname, int lineno)
{
struct pthread *curthread = _get_curthread();
int cnt = 0;