/* Things in the library which want to be run when the auth port changes. */
DEFINE_HOOK (_hurd_reauth_hook, (auth_t new_auth));
-static unsigned int reauth_lock = LLL_INITIALIZER;
+static unsigned int reauth_lock = LLL_LOCK_INITIALIZER;
/* Set the auth port to NEW, and reauthenticate
everything used by the library. */
typedef unsigned int __spin_lock_t;
/* Static initializer for spinlocks. */
-#define __SPIN_LOCK_INITIALIZER LLL_INITIALIZER
+#define __SPIN_LOCK_INITIALIZER LLL_LOCK_INITIALIZER
/* Initialize LOCK. */
#endif
/* Static initializer for low-level locks. */
-#define LLL_INITIALIZER 0
+#define LLL_LOCK_INITIALIZER 0
/* Wait on address PTR, without blocking if its contents
* are different from VAL. */
CLASS __libc_lock_t NAME;
/* Define an initialized lock variable NAME with storage class CLASS. */
-#define _LIBC_LOCK_INITIALIZER LLL_INITIALIZER
+#define _LIBC_LOCK_INITIALIZER LLL_LOCK_INITIALIZER
#define __libc_lock_define_initialized(CLASS,NAME) \
- CLASS __libc_lock_t NAME = LLL_INITIALIZER;
+ CLASS __libc_lock_t NAME = LLL_LOCK_INITIALIZER;
/* Initialize the named lock variable, leaving it in a consistent, unlocked
state. */
-#define __libc_lock_init(NAME) (NAME) = LLL_INITIALIZER
+#define __libc_lock_init(NAME) (NAME) = LLL_LOCK_INITIALIZER
/* Finalize the named lock variable, which must be locked. It cannot be
used again until __libc_lock_init is called again on it. This must be
#define __libc_lock_define_recursive(CLASS,NAME) \
CLASS __libc_lock_recursive_t NAME;
-#define _LIBC_LOCK_RECURSIVE_INITIALIZER { LLL_INITIALIZER, 0, 0 }
+#define _LIBC_LOCK_RECURSIVE_INITIALIZER { LLL_LOCK_INITIALIZER, 0, 0 }
#define __libc_lock_define_initialized_recursive(CLASS,NAME) \
CLASS __libc_lock_recursive_t NAME = _LIBC_LOCK_RECURSIVE_INITIALIZER;