summaryrefslogtreecommitdiff
path: root/lib/libc/include/libc_private.h
diff options
context:
space:
mode:
authorDaniel Eischen <deischen@FreeBSD.org>2003-11-05 18:17:30 +0000
committerDaniel Eischen <deischen@FreeBSD.org>2003-11-05 18:17:30 +0000
commit82358b1b5ae518faa16aa8857efff6d19deb517c (patch)
treec2d4c2c4472e7d2601fc7fde1ee9fd8842a4c658 /lib/libc/include/libc_private.h
parent4e2a2c6a2d147a55556fea27646d77e4c0d176e1 (diff)
Notes
Diffstat (limited to 'lib/libc/include/libc_private.h')
-rw-r--r--lib/libc/include/libc_private.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
index d4265e9fcc1b..f18dde57c34b 100644
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -38,8 +38,6 @@
#ifndef _LIBC_PRIVATE_H_
#define _LIBC_PRIVATE_H_
-#include <spinlock.h>
-
/*
* This global flag is non-zero when a process has created one
* or more threads. It is used to avoid calling locking functions
@@ -126,6 +124,6 @@ extern const char *__progname;
* This is the lock to make malloc() thread-safe. It is externalized
* so that thread libraries can protect malloc across fork().
*/
-extern spinlock_t *__malloc_lock;
+extern struct _spinlock *__malloc_lock;
#endif /* _LIBC_PRIVATE_H_ */