OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / stdio / putw.c
index 5dfa068..469e44a 100644 (file)
@@ -7,6 +7,8 @@
 
 #include "_stdio.h"
 
+libc_hidden_proto(fwrite_unlocked)
+
 /* SUSv2 Legacy function -- need not be reentrant. */
 
 int putw(int w, FILE *stream)
@@ -20,9 +22,9 @@ int putw(int w, FILE *stream)
 #endif
 
 #if EOF == -1
-       return __fwrite_unlocked((void *) PW, sizeof(int), 1, stream) - 1;
+       return fwrite_unlocked((void *) PW, sizeof(int), 1, stream) - 1;
 #else
-       return (__fwrite_unlocked((void *) PW, sizeof(int), 1, stream) != 0)
+       return (fwrite_unlocked((void *) PW, sizeof(int), 1, stream) != 0)
                ? 0 : EOF;
 #endif
 }