OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / stdio / printf.c
index 82326a9..8c54787 100644 (file)
@@ -8,15 +8,18 @@
 #include "_stdio.h"
 #include <stdarg.h>
 
-int attribute_hidden __printf(const char * __restrict format, ...)
+libc_hidden_proto(vfprintf)
+
+int printf(const char * __restrict format, ...)
 {
        va_list arg;
        int rv;
 
        va_start(arg, format);
-       rv = __vfprintf(stdout, format, arg);
+       rv = vfprintf(stdout, format, arg);
        va_end(arg);
 
        return rv;
 }
-strong_alias(__printf,printf)
+libc_hidden_proto(printf)
+libc_hidden_def(printf)