From eca908227a6718447bf2a8bb6e539c33dd4e99d6 Mon Sep 17 00:00:00 2001 From: deischen Date: Wed, 5 Nov 2003 18:17:30 +0000 Subject: Remove #include of spinlock.h from libc_private.h. Declare spinlocks as struct _spinlock. Keep the typedef in for now; another set of changes may come around to clean up consumers of spinlocks. Requested by: bde --- lib/libc/include/libc_private.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/libc/include/libc_private.h') diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index d4265e9..f18dde5 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 - /* * 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_ */ -- cgit v1.1