X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Fstdio%2Ftmpfile.c;h=ae493987b8a7d43f89c4e1eed86cdd81fba7756c;hb=4d3a162d001a93edd285fb6603a883c30ae553ba;hp=525090aa066d49cc20a4a762b17a4d54a3ec1b4f;hpb=60158bff74e478a8031f618ea5e0546bf41a3523;p=musl diff --git a/src/stdio/tmpfile.c b/src/stdio/tmpfile.c index 525090aa..ae493987 100644 --- a/src/stdio/tmpfile.c +++ b/src/stdio/tmpfile.c @@ -1,11 +1,10 @@ #include #include +#include #include "stdio_impl.h" #define MAXTRIES 100 -char *__randname(char *); - FILE *tmpfile(void) { char s[] = "/tmp/tmpfile_XXXXXX"; @@ -29,4 +28,4 @@ FILE *tmpfile(void) return 0; } -LFS64(tmpfile); +weak_alias(tmpfile, tmpfile64);