Explorar el Código

Use internal version of *_unlocked

Peter S. Mazinger hace 18 años
padre
commit
cd1e4095bd
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  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)