summaryrefslogtreecommitdiff
path: root/libc/stdio/puts.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-03 23:36:38 +0000
commit855dca36fe7aa348dc56996385fbbb77fbf3e83d (patch)
treeacb8204659fd3f784cd2fa9248e6ab09861af47b /libc/stdio/puts.c
parent86450311ebd0010553252d6d9efadb208dd085cb (diff)
Rename newly created __libc_x (reserved for libpthread overwrites) w/ x_internal, do not use cascading aliases
Diffstat (limited to 'libc/stdio/puts.c')
-rw-r--r--libc/stdio/puts.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/stdio/puts.c b/libc/stdio/puts.c
index 37ae243bf..3a510325b 100644
--- a/libc/stdio/puts.c
+++ b/libc/stdio/puts.c
@@ -5,8 +5,6 @@
* 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)
@@ -24,7 +22,7 @@ int puts(register const char * __restrict s)
/* Note: Nonportable as fputs need only return nonnegative on success. */
if ((n = __fputs_unlocked(s, stream)) != EOF) {
++n;
- if (__fputc_unlocked('\n', stream) == EOF) {
+ if (__fputc_unlocked_internal('\n', stream) == EOF) {
n = EOF;
}
}