X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstring%2Fstrerror_r.c;fp=src%2Fstring%2Fstrerror_r.c;h=da26b4fe9875a13839ce0b105fade0c13fc12712;hb=14f0272ea1775c35801b2bc17e67ef8bb7e9742d;hp=907dcf079a9a39c977ef52523c4fb564676f5217;hpb=ced64995c26a28ae40c5ae356b6c6a87a3bdf5ce;p=musl diff --git a/src/string/strerror_r.c b/src/string/strerror_r.c index 907dcf07..da26b4fe 100644 --- a/src/string/strerror_r.c +++ b/src/string/strerror_r.c @@ -1,5 +1,6 @@ #include #include +#include "libc.h" int strerror_r(int err, char *buf, size_t buflen) { @@ -15,3 +16,5 @@ int strerror_r(int err, char *buf, size_t buflen) memcpy(buf, msg, l+1); return 0; } + +weak_alias(strerror_r, __xpg_strerror_r);