| 1 |
#include <stdlib.h> |
| 2 |
#include "locale_impl.h" |
| 3 |
|
| 4 |
#define malloc undef |
| 5 |
#define calloc undef |
| 6 |
#define realloc undef |
| 7 |
#define free __libc_free |
| 8 |
|
| 9 |
void freelocale(locale_t l) |
| 10 |
{ |
| 11 |
if (__loc_is_allocated(l)) free(l); |
| 12 |
} |
| 13 |
|
| 14 |
weak_alias(freelocale, __freelocale); |