Browse Source

Use internal version of *_unlocked

Peter S. Mazinger 18 years ago
parent
commit
cd1e4095bd
2 changed files with 4 additions and 0 deletions
  1. 2 0
      libc/stdio/fgets.c
  2. 2 0
      libc/stdio/puts.c

+ 2 - 0
libc/stdio/fgets.c

@@ -5,6 +5,8 @@
  * Dedicated to Toni.  See uClibc/DEDICATION.mjn3 for details.
  */
 
+#define __fgetc_unlocked __libc_fgetc_unlocked
+
 #include "_stdio.h"
 
 #ifdef __DO_UNLOCKED

+ 2 - 0
libc/stdio/puts.c

@@ -5,6 +5,8 @@
  * Dedicated to Toni.  See uClibc/DEDICATION.mjn3 for details.
  */
 
+#define __fputc_unlocked __libc_fputc_unlocked
+
 #include "_stdio.h"
 
 int puts(register const char * __restrict s)