]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/iofputs_u.c
Fix syslog fputs_unlocked namespace (bug 18530).
[thirdparty/glibc.git] / libio / iofputs_u.c
index 6f79838eae7303122552049e62fa479dac279e89..f823686d5b3dbff69d599e543f4656491cf3843c 100644 (file)
@@ -29,7 +29,7 @@
 #include <string.h>
 
 int
-fputs_unlocked (str, fp)
+__fputs_unlocked (str, fp)
       const char *str;
       _IO_FILE *fp;
 {
@@ -40,4 +40,6 @@ fputs_unlocked (str, fp)
     result = 1;
   return result;
 }
-libc_hidden_def (fputs_unlocked)
+libc_hidden_def (__fputs_unlocked)
+weak_alias (__fputs_unlocked, fputs_unlocked)
+libc_hidden_weak (fputs_unlocked)