From: Paul Eggert Date: Fri, 4 Jan 2013 01:55:52 +0000 (+0000) Subject: unicodeio: depend on stdio, not ignore-value X-Git-Tag: v0.1~265 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=05c9fb114d40810816df58c1e948ba3c93a4a147;p=gnulib.git unicodeio: depend on stdio, not ignore-value * lib/unicodeio.c: Do not include ignore-value.h. (fwrite_success_callback): Use plain fwrite, not ignore_value + fwrite. * modules/unicodeio (Depends-on): Depend on stdio, not ignore-value. --- diff --git a/ChangeLog b/ChangeLog index ab35abd3c4..1958b416f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2013-01-04 Paul Eggert + unicodeio: depend on stdio, not ignore-value + * lib/unicodeio.c: Do not include ignore-value.h. + (fwrite_success_callback): Use plain fwrite, not ignore_value + fwrite. + * modules/unicodeio (Depends-on): Depend on stdio, not ignore-value. + fprintftime: depend on stdio, not ignore-value * lib/strftime.c [FPRINTFTIME]: Do not include ignore-value.h. (cpy) [FPRINTFTIME]: Use plain fwrite, not ignore_value of fwrite, diff --git a/lib/unicodeio.c b/lib/unicodeio.c index dd3c80afeb..62aee248bb 100644 --- a/lib/unicodeio.c +++ b/lib/unicodeio.c @@ -38,7 +38,6 @@ #include "localcharset.h" #include "unistr.h" -#include "ignore-value.h" /* When we pass a Unicode character to iconv(), we must pass it in a suitable encoding. The standardized Unicode encodings are @@ -169,7 +168,7 @@ fwrite_success_callback (const char *buf, size_t buflen, void *callback_arg) conditions (STREAM is an open stream and not wide-character oriented) when fwrite() returns a value != buflen it also sets STREAM's error indicator. */ - ignore_value (fwrite (buf, 1, buflen, stream)); + fwrite (buf, 1, buflen, stream); return 0; } diff --git a/modules/unicodeio b/modules/unicodeio index 8231569c67..dbcc6c5fb9 100644 --- a/modules/unicodeio +++ b/modules/unicodeio @@ -13,7 +13,7 @@ iconv_open gettext-h localcharset error -ignore-value +stdio configure.ac: gl_UNICODEIO @@ -32,4 +32,3 @@ GPL Maintainer: Bruno Haible -