diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-18 06:55:35 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-18 09:32:38 +0800 |
commit | cd90d3ca7d5b515cb096d8c1d7c83b94ef6eba71 (patch) | |
tree | 6fbaccf7c8d9aa4e09526e489cff1bd92015b170 /iconvdata/testdata/DS_2089 | |
parent | ae5062201d7e9d18fe88bff4bc71088374c394fb (diff) | |
download | glibc-master.tar.gz glibc-master.tar.xz glibc-master.zip |
Although _chk functions are exported in libc.so.6, their prototypes aren't provided. Their built versions are supported by compiler. Replace __strcpy_chk with __builtin___strcpy_chk to silence Clang error: ./tst-gnuglob-skeleton.c:225:3: error: call to undeclared function '__strcpy_chk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | __strcpy_chk (dir->d.d_name, filesystem[dir->idx].name, NAME_MAX); | ^ Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'iconvdata/testdata/DS_2089')
0 files changed, 0 insertions, 0 deletions