summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/fgets.c2
-rw-r--r--libc/stdio/puts.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdio/fgets.c b/libc/stdio/fgets.c
index 345ccf512..743a2ea54 100644
--- a/libc/stdio/fgets.c
+++ b/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
diff --git a/libc/stdio/puts.c b/libc/stdio/puts.c
index a7d0eaf19..37ae243bf 100644
--- a/libc/stdio/puts.c
+++ b/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)