X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstring%2Fstrerror_r.c;h=da26b4fe9875a13839ce0b105fade0c13fc12712;hb=da49b872f5ef56026713855b66783c8e32570c4b;hp=907dcf079a9a39c977ef52523c4fb564676f5217;hpb=f313a1622448de578ab0b11a881f44a02c9082e6;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);