about summary refs log tree commit diff
path: root/src/temp/mktemp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-14 19:18:06 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-14 19:18:06 -0500
commit5377715ce07269131f011e6f4e978fb5dbf0b294 (patch)
treed8d22ad01abb34db4296910ef00667054b7cbe1f /src/temp/mktemp.c
parentc255e5542df8733d6a7227730120bb0c281019b0 (diff)
downloadmusl-5377715ce07269131f011e6f4e978fb5dbf0b294.tar.gz
musl-5377715ce07269131f011e6f4e978fb5dbf0b294.tar.xz
musl-5377715ce07269131f011e6f4e978fb5dbf0b294.zip
ensure standard functions mk[sd]temp don't depend on removed function mktemp
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);