openharmony_kernel_liteos_m/kal/posix/musl_src
wangchen b244ad4ad0 feat: 解决fclose等函数工具链重定义问题
【背景】当前部分单板编译fclose等函数时与对应的gcc工具链重定义。

【修改方案】
1. fclose等函数新增weak定义,并恢复与musl源码一致。
2.外层添加wrap函数,用于配合gcc的--wrap选项。

【影响】
对现有的产品编译不会有影响,报重定义的工程需单独在自己的build.gn中添加
--wrap=xxx。

re #I3UG6O

Signed-off-by: wangchen <253227059@qq.com>
2021-06-05 11:30:16 +08:00
..
ctype Description:l0 posix interface 2021-03-27 10:38:56 +08:00
errno Description:l0 posix interface 2021-03-27 10:38:56 +08:00
exit remove __cplusplus guards in .c files 2021-04-19 18:19:28 +08:00
include Description:l0 posix interface 2021-03-27 10:38:56 +08:00
internal Description: opensource check,modify posix and unittest,add unit fuzz test case 2021-04-14 14:34:48 +08:00
locale Description: opensource check,modify posix and unittest,add unit fuzz test case 2021-04-14 14:34:48 +08:00
math Description:l0 posix interface 2021-03-27 10:38:56 +08:00
misc Description:l0 posix interface 2021-03-27 10:38:56 +08:00
network IssueNo:#I3IMWT 2021-04-15 20:00:41 +08:00
prng Description:l0 posix interface 2021-03-27 10:38:56 +08:00
regex Description:l0 posix interface 2021-03-27 10:38:56 +08:00
stdio feat: 解决fclose等函数工具链重定义问题 2021-06-05 11:30:16 +08:00
stdlib Description:l0 posix interface 2021-03-27 10:38:56 +08:00
string Description:l0 posix interface 2021-03-27 10:38:56 +08:00
time Description: opensource check,modify posix and unittest,add unit fuzz test case 2021-04-14 14:34:48 +08:00
COPYRIGHT Description:l0 posix interface 2021-03-27 10:38:56 +08:00
README.OpenSource Description:l0 posix interface 2021-03-27 10:38:56 +08:00

README.OpenSource

[
    {
        "Name"                  : "musl",
        "License"               : "MIT License",
        "License File"          : "COPYRIGHT",
        "Version Number"        : "1.2.0",
        "Upstream URL"          : "http://www.musl-libc.org/",
        "Description"           : "musl is an MIT-licensed implementation of the standard C library"
    }
]