X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2Ftmpnam.c;h=d667a83686b09165262502bcaeef7cad3b5a7574;hb=4554f155dd23a65fcdfd39f1d5af8af55ba37694;hp=92f699c25d359d71123c0b9da3f8a01850d69af7;hpb=2fe6579125fe042f2255afbf00fc8e4b80d6a6be;p=musl diff --git a/src/stdio/tmpnam.c b/src/stdio/tmpnam.c index 92f699c2..d667a836 100644 --- a/src/stdio/tmpnam.c +++ b/src/stdio/tmpnam.c @@ -2,12 +2,13 @@ #include #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]; @@ -16,7 +17,12 @@ char *tmpnam(char *buf) int r; for (try=0; try