summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-02-02 15:37:16 +0000
committerUlrich Drepper <drepper@redhat.com>2007-02-02 15:37:16 +0000
commit73f50d5a6923e404a24c398f4a2cf494e0a37795 (patch)
tree64100bb421bc97cae98e977c0eb6f464549524b2
parent806c3b196b6b8a37504bdbaaa71e70a478587a74 (diff)
downloadglibc-73f50d5a6923e404a24c398f4a2cf494e0a37795.tar.gz
glibc-73f50d5a6923e404a24c398f4a2cf494e0a37795.tar.xz
glibc-73f50d5a6923e404a24c398f4a2cf494e0a37795.zip
* include/locale.h (__uselocale): Add libc_hidden_proto.
	* locale/uselocale.c (__uselocale): Add libc_hidden_def.

2007-02-02  Jakub Jelinek  <jakub@redhat.com>
-rw-r--r--ChangeLog5
-rw-r--r--locale/uselocale.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a8e456021c..914874c514 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2007-02-02  Jakub Jelinek  <jakub@redhat.com>
 
+	* include/locale.h (__uselocale): Add libc_hidden_proto.
+	* locale/uselocale.c (__uselocale): Add libc_hidden_def.
+
+2007-02-02  Jakub Jelinek  <jakub@redhat.com>
+
 	* nscd/nscd_helper.c (open_socket): Use __gettimeofday instead of
 	gettimeofday.
 
diff --git a/locale/uselocale.c b/locale/uselocale.c
index 4e63dabd8e..6a54b58a27 100644
--- a/locale/uselocale.c
+++ b/locale/uselocale.c
@@ -1,5 +1,5 @@
 /* uselocale -- fetch and set the current per-thread locale
-   Copyright (C) 2002, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004, 2007 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
@@ -70,4 +70,5 @@ __uselocale (locale_t newloc)
 
   return oldloc == &_nl_global_locale ? LC_GLOBAL_LOCALE : oldloc;
 }
+libc_hidden_def (__uselocale)
 weak_alias (__uselocale, uselocale)