浏览代码

Use internal version of *_unlocked

Peter S. Mazinger 18 年之前
父节点
当前提交
cd1e4095bd
共有 2 个文件被更改,包括 4 次插入0 次删除
  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)