summary refs log tree commit diff
path: root/iconvdata/iso-2022-kr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-07 07:40:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-07 07:40:43 +0000
commitaa831d6dab6befb29d69be93956ee8846ca64ea5 (patch)
tree5f616a9bb1330ab27027d1a8d6b1198814b29459 /iconvdata/iso-2022-kr.c
parentf11b9da65497cfdb8e49cbc074a1d17a050358bc (diff)
downloadglibc-aa831d6dab6befb29d69be93956ee8846ca64ea5.tar.gz
glibc-aa831d6dab6befb29d69be93956ee8846ca64ea5.tar.xz
glibc-aa831d6dab6befb29d69be93956ee8846ca64ea5.zip
Update.
2000-04-07  Ulrich Drepper  <drepper@redhat.com>

	* wcsmbs/wchar.h (__mbstate_t): Rename elements.  Make __value
	element a union to allow byte access.
	* iconvdata/iso-2022-cn.c: Adjust for change of element name in
	mbstate_t.
	* iconvdata/iso-2022-jp.c: Likewise.
	* iconvdata/iso-2022-kr.c: Likewise.
Diffstat (limited to 'iconvdata/iso-2022-kr.c')
-rw-r--r--iconvdata/iso-2022-kr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/iconvdata/iso-2022-kr.c b/iconvdata/iso-2022-kr.c
index ea03353065..11811d0c92 100644
--- a/iconvdata/iso-2022-kr.c
+++ b/iconvdata/iso-2022-kr.c
@@ -44,7 +44,7 @@
 #define MAX_NEEDED_TO		4
 #define PREPARE_LOOP \
   int save_set;								      \
-  int *setp = &data->__statep->count;					      \
+  int *setp = &data->__statep->__count;					      \
   if (!FROM_DIRECTION && !data->__internal_use				      \
       && data->__invocation_counter == 0)				      \
     {									      \
@@ -73,12 +73,12 @@ enum
    the output state to the initial state.  This has to be done during the
    flushing.  */
 #define EMIT_SHIFT_TO_INIT \
-  if (data->__statep->count != ASCII_set)				      \
+  if (data->__statep->__count != ASCII_set)				      \
     {									      \
       if (FROM_DIRECTION)						      \
 	/* It's easy, we don't have to emit anything, we just reset the	      \
 	   state for the input.  */					      \
-	data->__statep->count = ASCII_set;				      \
+	data->__statep->__count = ASCII_set;				      \
       else								      \
 	{								      \
 	  unsigned char *outbuf = data->__outbuf;			      \
@@ -95,7 +95,7 @@ enum
 	      if (data->__is_last)					      \
 		*written += 1;						      \
 	      data->__outbuf = outbuf;					      \
-	      data->__statep->count = ASCII_set;			      \
+	      data->__statep->__count = ASCII_set;			      \
 	    }								      \
 	}								      \
     }