aboutsummaryrefslogtreecommitdiff
path: root/src/temp/mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp/mktemp.c')
-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 24c858b..a1c89a6 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);