aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/pthread/bits/initspin.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/sysdeps/pthread/bits/initspin.h
parentddd1037e4dd9394cdb89d79cc6a81543cf75f552 (diff)
downloadglibc-f9b9f291b7bab3368457d3e273584c25a1ccdc0a.zip
glibc-f9b9f291b7bab3368457d3e273584c25a1ccdc0a.tar.gz
glibc-f9b9f291b7bab3368457d3e273584c25a1ccdc0a.tar.bz2
Update.
* conform/conformtest.pl: Define $mustprepend{"stdio.h"}. * libio/stdio.h: Always define __need___va_list.
Diffstat (limited to 'linuxthreads/sysdeps/pthread/bits/initspin.h')
-rw-r--r--linuxthreads/sysdeps/pthread/bits/initspin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/linuxthreads/sysdeps/pthread/bits/initspin.h b/linuxthreads/sysdeps/pthread/bits/initspin.h
index 050983c..af19d44 100644
--- a/linuxthreads/sysdeps/pthread/bits/initspin.h
+++ b/linuxthreads/sysdeps/pthread/bits/initspin.h
@@ -1,5 +1,5 @@
/* Generic definitions for spinlock initializers.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,9 +20,9 @@
/* Initial value of a spinlock. Most platforms should use zero,
unless they only implement a "test and clear" operation instead of
the usual "test and set". */
-#define LT_SPINLOCK_INIT 0
+#define __LT_SPINLOCK_INIT 0
/* Macros for lock initializers, using the above definition. */
-#define LOCK_INITIALIZER { 0, LT_SPINLOCK_INIT }
-#define ALT_LOCK_INITIALIZER { 0, LT_SPINLOCK_INIT }
-#define ATOMIC_INITIALIZER { 0, LT_SPINLOCK_INIT }
+#define __LOCK_INITIALIZER { 0, __LT_SPINLOCK_INIT }
+#define __ALT_LOCK_INITIALIZER { 0, __LT_SPINLOCK_INIT }
+#define __ATOMIC_INITIALIZER { 0, __LT_SPINLOCK_INIT }