summaryrefslogtreecommitdiff
path: root/src/temp/mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/temp/mktemp.c')
-rw-r--r--src/temp/mktemp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/temp/mktemp.c b/src/temp/mktemp.c
index 8638e087..1078b9df 100644
--- 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);