• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdlib.h>
2 #include <unsupported_api.h>
3 #include "locale_impl.h"
4 
5 #define malloc undef
6 #define calloc undef
7 #define realloc undef
8 #define free __libc_free
9 
freelocale(locale_t l)10 void freelocale(locale_t l)
11 {
12 	unsupported_api(__FUNCTION__);
13 	if (__loc_is_allocated(l)) free(l);
14 }
15 
16 weak_alias(freelocale, __freelocale);
17