summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-02 00:52:50 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-02 00:52:50 -0400
commit9a97d103fba259f3f789c143d97d7f22d392429b (patch)
tree29dbd29f0a2d676ccc1c9a5e2d29ed6fa28db89f
parentc4685ae429a0cce4b285859d62a71fe603f0a864 (diff)
downloadmusl-9a97d103fba259f3f789c143d97d7f22d392429b.tar.gz
musl-9a97d103fba259f3f789c143d97d7f22d392429b.tar.bz2
musl-9a97d103fba259f3f789c143d97d7f22d392429b.tar.xz
musl-9a97d103fba259f3f789c143d97d7f22d392429b.zip
remove (no longer useful) namespace-protected __mktemp symbol
-rw-r--r--src/temp/mktemp.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/temp/mktemp.c b/src/temp/mktemp.c
index 24c858bb..a1c89a6c 100644
--- 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);