projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix undefined behavior in getdelim via null pointer arithmetic and memcpy
[musl]
/
src
/
temp
/
mkdtemp.c
diff --git
a/src/temp/mkdtemp.c
b/src/temp/mkdtemp.c
index
195e9cb
..
5708257
100644
(file)
--- a/
src/temp/mkdtemp.c
+++ b/
src/temp/mkdtemp.c
@@
-1,14
+1,7
@@
#include <string.h>
-#include <stdio.h>
#include <stdlib.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <limits.h>
#include <errno.h>
#include <sys/stat.h>
-#include "libc.h"
-
-char *__randname(char *);
char *mkdtemp(char *template)
{