about summary refs log tree commit diff
path: root/src/legacy/cuserid.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-11-04 21:41:29 -0500
committerRich Felker <dalias@aerifal.cx>2015-11-04 21:41:29 -0500
commit918b1c1d177b5e3cf22a8aae4a01776495fdc3bc (patch)
tree72968ea8c4a971e408df692d914b3f120e6a24bf /src/legacy/cuserid.c
parent6a851e3ab8a1ae524b2aa6218615ec1c86528e9c (diff)
downloadmusl-918b1c1d177b5e3cf22a8aae4a01776495fdc3bc.tar.gz
musl-918b1c1d177b5e3cf22a8aae4a01776495fdc3bc.tar.xz
musl-918b1c1d177b5e3cf22a8aae4a01776495fdc3bc.zip
remove external linkage from __simple_malloc definition
this function is used only as a weak definition for malloc, for static
linking in programs which do not call realloc or free. since it had
external linkage and was thereby exported in libc.so's dynamic symbol
table, --gc-sections was unable to drop it. this was merely an
oversight; there's no reason for it to be external, so make it static.
Diffstat (limited to 'src/legacy/cuserid.c')
0 files changed, 0 insertions, 0 deletions