X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Ftmpnam.c;h=d667a83686b09165262502bcaeef7cad3b5a7574;hb=821083ac7b54eaa040d5a8ddc67c6206a175e0ca;hp=449eb9b0708c2a5d295db76f1e944059f6789f9b;hpb=dd5f50da6f6c3df5647e922e47f8568a8896a752;p=musl diff --git a/src/stdio/tmpnam.c b/src/stdio/tmpnam.c index 449eb9b0..d667a836 100644 --- a/src/stdio/tmpnam.c +++ b/src/stdio/tmpnam.c @@ -3,12 +3,12 @@ #include #include #include +#include #include "syscall.h" +#include "kstat.h" #define MAXTRIES 100 -char *__randname(char *); - char *tmpnam(char *buf) { static char internal[L_tmpnam]; @@ -18,10 +18,10 @@ char *tmpnam(char *buf) for (try=0; try