Explorar o código

Use internal version of *_unlocked

Peter S. Mazinger %!s(int64=20) %!d(string=hai) anos
pai
achega
cd1e4095bd
Modificáronse 2 ficheiros con 4 adicións e 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)