aboutsummaryrefslogtreecommitdiff
path: root/iconv/skeleton.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-29 12:15:49 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-29 12:15:49 +0000
commit5e7a22c9c3d09ad8bdefb127eb4a0faeee5fbb0b (patch)
tree721a0884bdb59f87db85171a056d51b1e246e467 /iconv/skeleton.c
parentbf979eef1d8d6c6e9b5ad623d47ce9bab20b8be9 (diff)
downloadglibc-5e7a22c9c3d09ad8bdefb127eb4a0faeee5fbb0b.tar
glibc-5e7a22c9c3d09ad8bdefb127eb4a0faeee5fbb0b.tar.gz
glibc-5e7a22c9c3d09ad8bdefb127eb4a0faeee5fbb0b.tar.bz2
glibc-5e7a22c9c3d09ad8bdefb127eb4a0faeee5fbb0b.zip
Update.
1998-04-29 12:11 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/mbsnrtowcs.c: Remove variable to pass to conversion function by letting the later modify the variable computing the total directly. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/btowc.c (converted): Rename variable to dummy to make clear it is not used. * wcsmbs/wctoc.c: Likewise.
Diffstat (limited to 'iconv/skeleton.c')
-rw-r--r--iconv/skeleton.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 596838de8b..f0445f1408 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -229,16 +229,16 @@ FUNCTION_NAME (struct gconv_step *step, struct gconv_step_data *data,
char *outend = data->outbufend;
char *outptr;
+ /* This variable is used to count the number of characters we
+ actually converted. */
+ size_t converted = 0;
+
#ifdef PREPARE_LOOP
PREPARE_LOOP
#endif
do
{
- /* This variable is used to count the number of characters we
- actually converted. */
- size_t converted = 0;
-
/* Remember the start value for this round. */
inptr = *inbuf;
/* The outbuf buffer is empty. */