summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-25 00:55:21 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-25 00:55:21 +0000
commitcd1e4095bdf95269a70ded0c94cab7ed54bdfb9b (patch)
tree2f69f7830b96dedc00347e3492d3b391b94cf805
parent5c2de4b255999bc1d6d76cc87edd8c37b72231ab (diff)
Use internal version of *_unlocked
-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)