diff options
| author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:45:53 +0000 |
|---|---|---|
| committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:45:53 +0000 |
| commit | 821e7539de6922c96e2a4fc5baa11fdc335072c9 (patch) | |
| tree | 8ee7f5ac1797850d304a3b10ff4a7ca4d4f2a2dc /libc/stdio/puts.c | |
| parent | bd7bace793536f027790396d6358c14299e8595b (diff) | |
| download | uClibc-alpine-821e7539de6922c96e2a4fc5baa11fdc335072c9.tar.bz2 uClibc-alpine-821e7539de6922c96e2a4fc5baa11fdc335072c9.tar.xz | |
More merging from trunk.
Diffstat (limited to 'libc/stdio/puts.c')
| -rw-r--r-- | libc/stdio/puts.c | 4 |
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; } } |
