提交 9a97d103 编写于 作者: R Rich Felker

remove (no longer useful) namespace-protected __mktemp symbol

上级 c4685ae4
...@@ -2,11 +2,10 @@ ...@@ -2,11 +2,10 @@
#include <fcntl.h> #include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include "libc.h"
char *__randname(char *); char *__randname(char *);
char *__mktemp(char *template) char *mktemp(char *template)
{ {
size_t l = strlen(template); size_t l = strlen(template);
int retries = 10000; int retries = 10000;
...@@ -24,5 +23,3 @@ char *__mktemp(char *template) ...@@ -24,5 +23,3 @@ char *__mktemp(char *template)
errno = EEXIST; errno = EEXIST;
return template; return template;
} }
weak_alias(__mktemp, mktemp);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册