OSDN Git Service

hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing...
[uclinux-h8/uClibc.git] / libc / stdio / feof.c
index b0528d5..e5f03b7 100644 (file)
@@ -7,18 +7,19 @@
 
 #include "_stdio.h"
 
+#undef feof
 #ifdef __DO_UNLOCKED
 
-int __feof_unlocked(register FILE *stream)
+#undef feof_unlocked
+int feof_unlocked(register FILE *stream)
 {
        __STDIO_STREAM_VALIDATE(stream);
 
        return __FEOF_UNLOCKED(stream);
 }
 
-weak_alias(__feof_unlocked,feof_unlocked)
 #ifndef __UCLIBC_HAS_THREADS__
-weak_alias(__feof_unlocked,feof)
+strong_alias(feof_unlocked,feof)
 #endif
 
 #elif defined __UCLIBC_HAS_THREADS__