Skip to content

Commit

Permalink
* include/locale.h (__uselocale): Add libc_hidden_proto.
Browse files Browse the repository at this point in the history
	* locale/uselocale.c (__uselocale): Add libc_hidden_def.

2007-02-02  Jakub Jelinek  <jakub@redhat.com>
  • Loading branch information
Ulrich Drepper committed Feb 2, 2007
1 parent 806c3b1 commit 73f50d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
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
Expand Down
3 changes: 2 additions & 1 deletion locale/uselocale.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)

0 comments on commit 73f50d5

Please sign in to comment.