summaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/uthread_spinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc_r/uthread/uthread_spinlock.c')
-rw-r--r--lib/libc_r/uthread/uthread_spinlock.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc_r/uthread/uthread_spinlock.c b/lib/libc_r/uthread/uthread_spinlock.c
index 1863bdfef9a..559f2d4c4b4 100644
--- a/lib/libc_r/uthread/uthread_spinlock.c
+++ b/lib/libc_r/uthread/uthread_spinlock.c
@@ -29,16 +29,16 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: uthread_spinlock.c,v 1.1 1998/08/27 09:01:25 d Exp $
- * $OpenBSD: uthread_spinlock.c,v 1.1 1998/08/27 09:01:25 d Exp $
+ * $Id: uthread_spinlock.c,v 1.2 1998/11/09 03:13:21 d Exp $
+ * $OpenBSD: uthread_spinlock.c,v 1.2 1998/11/09 03:13:21 d Exp $
*
*/
#include <stdio.h>
#include <sched.h>
#include <unistd.h>
-#include <string.h>
#include <pthread.h>
+#include <string.h>
#include "pthread_private.h"
extern char *__progname;
@@ -80,7 +80,7 @@ _spinlock(spinlock_t *lck)
* returning.
*/
void
-_spinlock_debug(spinlock_t *lck, char *fname, int lineno)
+_spinlock_debug(spinlock_t *lck, const char *fname, int lineno)
{
/*
* Try to grab the lock and loop if another thread grabs