diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-24 15:12:12 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-01-24 15:12:12 +0000 |
commit | a9a6b60e62b44b1d447962c0eaec1f3eb03115fe (patch) | |
tree | 6cc64c32c6467e7f17faee7ff709edb0662e5ab9 /toolchain/uClibc | |
parent | 6cc2db583b168252bbdccc3adcc313734f74bd5e (diff) |
- apply vapier's comments
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r-- | toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff b/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff index 3fcfb76cc..5c0957781 100644 --- a/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff +++ b/toolchain/uClibc/uClibc-0.9.29-fix-fget_putc.diff @@ -219,7 +219,7 @@ Index: uClibc_trunk/libc/stdio/puts.c if ((n = fputs_unlocked(s, stream)) != EOF) { ++n; - if (__fputc_unlocked('\n', stream) == EOF) { -+ if (__FPUTC_UNLOCKED('\n', stream) == EOF) { ++ if (fputc_unlocked('\n', stream) == EOF) { n = EOF; } } @@ -411,9 +411,9 @@ Index: uClibc_trunk/libc/misc/error/error.c libc_hidden_proto(fflush) -libc_hidden_proto(fputc) -libc_hidden_proto(__fputc_unlocked) -+#ifdef __UCLIBC_HAS_STDIO_PUTC_MACRO__ ++//#ifdef __UCLIBC_HAS_STDIO_PUTC_MACRO__ +libc_hidden_proto(fputc_unlocked) -+#endif ++//#endif /* This variable is incremented each time `error' is called. */ unsigned int error_message_count = 0; |