about summary refs log tree commit diff
path: root/linuxthreads/spinlock.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-28 09:13:22 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-28 09:13:22 +0000
commitf9b9f291b7bab3368457d3e273584c25a1ccdc0a (patch)
tree831143baf2726d8bfe77042a83d806fdd796045d /linuxthreads/spinlock.h
parentddd1037e4dd9394cdb89d79cc6a81543cf75f552 (diff)
downloadglibc-f9b9f291b7bab3368457d3e273584c25a1ccdc0a.tar.gz
glibc-f9b9f291b7bab3368457d3e273584c25a1ccdc0a.tar.xz
glibc-f9b9f291b7bab3368457d3e273584c25a1ccdc0a.zip
Update.
	* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
	* libio/stdio.h: Always define __need___va_list.
Diffstat (limited to 'linuxthreads/spinlock.h')
-rw-r--r--linuxthreads/spinlock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/spinlock.h b/linuxthreads/spinlock.h
index 9fbeff1ad6..0dbaa54e2d 100644
--- a/linuxthreads/spinlock.h
+++ b/linuxthreads/spinlock.h
@@ -99,7 +99,7 @@ extern int __pthread_unlock(struct _pthread_fastlock *lock);
 static inline void __pthread_init_lock(struct _pthread_fastlock * lock)
 {
   lock->__status = 0;
-  lock->__spinlock = LT_SPINLOCK_INIT;
+  lock->__spinlock = __LT_SPINLOCK_INIT;
 }
 
 static inline int __pthread_trylock (struct _pthread_fastlock * lock)
@@ -141,7 +141,7 @@ extern void __pthread_alt_unlock(struct _pthread_fastlock *lock);
 static inline void __pthread_alt_init_lock(struct _pthread_fastlock * lock)
 {
   lock->__status = 0;
-  lock->__spinlock = LT_SPINLOCK_INIT;
+  lock->__spinlock = __LT_SPINLOCK_INIT;
 }
 
 static inline int __pthread_alt_trylock (struct _pthread_fastlock * lock)
@@ -165,7 +165,7 @@ static inline int __pthread_alt_trylock (struct _pthread_fastlock * lock)
 	    WRITE_MEMORY_BARRIER();
 	    res = 0;
 	  }
-	lock->__spinlock = LT_SPINLOCK_INIT;
+	lock->__spinlock = __LT_SPINLOCK_INIT;
       }
     return res;
   }