remove (no longer useful) namespace-protected __mktemp symbol
authorRich Felker <dalias@aerifal.cx>
Fri, 2 Aug 2013 04:52:50 +0000 (00:52 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 2 Aug 2013 04:52:50 +0000 (00:52 -0400)
src/temp/mktemp.c

index 24c858bb18b21e71f6bdce5e08d09afc11b34b18..a1c89a6cc322ea5f4158e64ba713b7b41b116772 100644 (file)
@@ -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);