Skip to content

Commit

Permalink
Finish locale_data -> __locale_data transition.
Browse files Browse the repository at this point in the history
The transition that was begun here
f095bb7
was not complete.

Signed-off-by: Richard Henderson <[email protected]>
  • Loading branch information
rth7680 committed Mar 26, 2010
1 parent b1c1949 commit 6e9331d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-03-26 Richard Henderson <[email protected]>

* locale/setlocale.c (free_category): Finish renaming
struct locale_data to __locale_data.

2010-03-26 Richard Henderson <[email protected]>

* csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void.
Expand Down
4 changes: 2 additions & 2 deletions locale/setlocale.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ libc_hidden_def (setlocale)

static void __libc_freeres_fn_section
free_category (int category,
struct __locale_data *here, struct locale_data *c_data)
struct __locale_data *here, struct __locale_data *c_data)
{
struct loaded_l10nfile *runp = _nl_locale_file_list[category];

Expand All @@ -481,7 +481,7 @@ free_category (int category,
while (runp != NULL)
{
struct loaded_l10nfile *curr = runp;
struct __locale_data *data = (struct locale_data *) runp->data;
struct __locale_data *data = (struct __locale_data *) runp->data;

if (data != NULL && data != c_data)
_nl_unload_locale (data);
Expand Down

0 comments on commit 6e9331d

Please sign in to comment.