X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Ftemp%2Fmktemp.c;h=1078b9df805e433ebd2d0f4fbe2ab87553e80df9;hp=8638e087091395eaf0dcdde1e669fe91e19c5eb9;hb=5377715ce07269131f011e6f4e978fb5dbf0b294;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01 diff --git a/src/temp/mktemp.c b/src/temp/mktemp.c index 8638e087..1078b9df 100644 --- a/src/temp/mktemp.c +++ b/src/temp/mktemp.c @@ -6,7 +6,7 @@ #include #include "libc.h" -char *mktemp(char *template) +char *__mktemp(char *template) { static int lock; static int index; @@ -27,3 +27,5 @@ char *mktemp(char *template) UNLOCK(&lock); return NULL; } + +weak_alias(__mktemp, mktemp);