aboutsummaryrefslogtreecommitdiff
path: root/nptl/sem_open.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-11 17:11:16 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-11 17:11:16 +0000
commit3d237e425c326606721bed45c741729c35133c5f (patch)
treea34ae8e1723a04de989c83e987d79a96b60e2de8 /nptl/sem_open.c
parent790fc6e41d5f4e888b938be1d653fb23fdf3540c (diff)
downloadglibc-3d237e425c326606721bed45c741729c35133c5f.zip
glibc-3d237e425c326606721bed45c741729c35133c5f.tar.gz
glibc-3d237e425c326606721bed45c741729c35133c5f.tar.bz2
* locale/programs/ld-time.c (time_finish): If wide era name or
format aren't provided, set both wname and wformat to L"".
Diffstat (limited to 'nptl/sem_open.c')
-rw-r--r--nptl/sem_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/sem_open.c b/nptl/sem_open.c
index a4b2f5b..66bcb13 100644
--- a/nptl/sem_open.c
+++ b/nptl/sem_open.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -147,7 +147,7 @@ __sem_search (const void *a, const void *b)
void *__sem_mappings attribute_hidden;
/* Lock to protect the search tree. */
-lll_lock_t __sem_mappings_lock = LLL_LOCK_INITIALIZER;
+lll_lock_t __sem_mappings_lock attribute_hidden = LLL_LOCK_INITIALIZER;
/* Search for existing mapping and if possible add the one provided. */