source:
azure_iot_hub/trunk/musl-1.1.18/src/locale/freelocale.c
Last change on this file was 389, checked in by , 5 years ago | |
---|---|
|
|
File size: 207 bytes |
Rev | Line | |
---|---|---|
[388] | 1 | #include <stdlib.h> |
2 | #include "locale_impl.h" | |
3 | #include "libc.h" | |
4 | ||
5 | int __loc_is_allocated(locale_t); | |
6 | ||
7 | void freelocale(locale_t l) | |
8 | { | |
9 | if (__loc_is_allocated(l)) free(l); | |
10 | } | |
11 | ||
12 | weak_alias(freelocale, __freelocale); |
Note:
See TracBrowser
for help on using the repository browser.