{
/* Intermediate memory for result. */
const char *newnames[LC_ALL];
- struct __locale_t result;
+ struct __locale_struct result;
__locale_t result_ptr;
char *locale_path;
size_t locale_path_len;
dataset using the C locale data. */
if (category_mask == 0)
{
- result_ptr = (__locale_t) malloc (sizeof (struct __locale_t));
+ result_ptr = (__locale_t) malloc (sizeof (struct __locale_struct));
*result_ptr = result;
goto update;
if (base == NULL)
{
/* Allocate new structure. */
- result_ptr = (__locale_t) malloc (sizeof (struct __locale_t));
+ result_ptr = (__locale_t) malloc (sizeof (struct __locale_struct));
if (result_ptr == NULL)
return NULL;