projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ensure standard functions mk[sd]temp don't depend on removed function mktemp
[musl]
/
src
/
temp
/
mktemp.c
diff --git
a/src/temp/mktemp.c
b/src/temp/mktemp.c
index
8638e08
..
1078b9d
100644
(file)
--- a/
src/temp/mktemp.c
+++ b/
src/temp/mktemp.c
@@
-6,7
+6,7
@@
#include <errno.h>
#include "libc.h"
-char *mktemp(char *template)
+char *
__
mktemp(char *template)
{
static int lock;
static int index;
@@
-27,3
+27,5
@@
char *mktemp(char *template)
UNLOCK(&lock);
return NULL;
}
+
+weak_alias(__mktemp, mktemp);