projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4685ae
)
remove (no longer useful) namespace-protected __mktemp symbol
author
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 04:52:50 +0000
(
00:52
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 2 Aug 2013 04:52:50 +0000
(
00:52
-0400)
src/temp/mktemp.c
patch
|
blob
|
history
diff --git
a/src/temp/mktemp.c
b/src/temp/mktemp.c
index 24c858bb18b21e71f6bdce5e08d09afc11b34b18..a1c89a6cc322ea5f4158e64ba713b7b41b116772 100644
(file)
--- a/
src/temp/mktemp.c
+++ b/
src/temp/mktemp.c
@@
-2,11
+2,10
@@
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
-#include "libc.h"
char *__randname(char *);
-char *
__
mktemp(char *template)
+char *mktemp(char *template)
{
size_t l = strlen(template);
int retries = 10000;
@@
-24,5
+23,3
@@
char *__mktemp(char *template)
errno = EEXIST;
return template;
}
-
-weak_alias(__mktemp, mktemp);