projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
in clock_getres, check for null pointer before storing result
[musl]
/
src
/
stdio
/
tmpnam.c
diff --git
a/src/stdio/tmpnam.c
b/src/stdio/tmpnam.c
index
449eb9b
..
6c7c253
100644
(file)
--- a/
src/stdio/tmpnam.c
+++ b/
src/stdio/tmpnam.c
@@
-3,12
+3,11
@@
#include <errno.h>
#include <sys/stat.h>
#include <string.h>
+#include <stdlib.h>
#include "syscall.h"
#define MAXTRIES 100
-char *__randname(char *);
-
char *tmpnam(char *buf)
{
static char internal[L_tmpnam];