Преглед изворни кода

remove (no longer useful) namespace-protected __mktemp symbol

Rich Felker пре 11 година
родитељ
комит
9a97d103fb
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      src/temp/mktemp.c

+ 1 - 4
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);