about summary refs log tree commit diff
path: root/iconvdata
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/8bit-gap.c8
-rw-r--r--iconvdata/8bit-generic.c4
-rw-r--r--iconvdata/ansi_x3.110.c8
-rw-r--r--iconvdata/big5.c6
-rw-r--r--iconvdata/big5hkscs.c6
-rw-r--r--iconvdata/euc-cn.c8
-rw-r--r--iconvdata/euc-jp.c8
-rw-r--r--iconvdata/euc-kr.c6
-rw-r--r--iconvdata/gbgbk.c2
-rw-r--r--iconvdata/gbk.c8
-rw-r--r--iconvdata/iso-2022-cn.c8
-rw-r--r--iconvdata/iso-2022-jp.c16
-rw-r--r--iconvdata/iso-2022-kr.c6
-rw-r--r--iconvdata/iso646.c4
-rw-r--r--iconvdata/iso8859-1.c2
-rw-r--r--iconvdata/iso_6937-2.c10
-rw-r--r--iconvdata/iso_6937.c10
-rw-r--r--iconvdata/johab.c14
-rw-r--r--iconvdata/sjis.c10
-rw-r--r--iconvdata/t.61.c8
-rw-r--r--iconvdata/uhc.c12
-rw-r--r--iconvdata/unicode.c2
-rw-r--r--iconvdata/utf-16.c8
23 files changed, 87 insertions, 87 deletions
diff --git a/iconvdata/8bit-gap.c b/iconvdata/8bit-gap.c
index 75493f758f..2d66f8b666 100644
--- a/iconvdata/8bit-gap.c
+++ b/iconvdata/8bit-gap.c
@@ -57,7 +57,7 @@ struct gap
 	    break;							      \
 	  }								      \
 									      \
-	++*converted; 							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       {									      \
@@ -89,7 +89,7 @@ struct gap
 	    break;							      \
 	  }								      \
 									      \
-	++*converted; 							      \
+	++*irreversible;						      \
 	inptr += 4;							      \
 	continue;							      \
       }									      \
@@ -104,7 +104,7 @@ struct gap
 	    break;							      \
 	  }								      \
 									      \
-	++*converted; 							      \
+	++*irreversible;						      \
 	inptr += 4;							      \
 	continue;							      \
       }									      \
@@ -119,7 +119,7 @@ struct gap
 	    break;							      \
 	  }								      \
 									      \
-	++*converted; 							      \
+	++*irreversible;						      \
 	inptr += 4;							      \
 	continue;							      \
       }									      \
diff --git a/iconvdata/8bit-generic.c b/iconvdata/8bit-generic.c
index 398bd67ba4..97ca193194 100644
--- a/iconvdata/8bit-generic.c
+++ b/iconvdata/8bit-generic.c
@@ -43,7 +43,7 @@
 	    break;							      \
 	  }								      \
 									      \
-	++*converted; 							      \
+	++*irreversible;						      \
       }									      \
 									      \
     put32 (outptr, ch);							      \
@@ -71,7 +71,7 @@
 	    break;							      \
 	  }								      \
 									      \
-	++*converted; 							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       *outptr++ = from_ucs4[ch];					      \
diff --git a/iconvdata/ansi_x3.110.c b/iconvdata/ansi_x3.110.c
index bacbfd23ad..2dd082d3b9 100644
--- a/iconvdata/ansi_x3.110.c
+++ b/iconvdata/ansi_x3.110.c
@@ -426,7 +426,7 @@ static const char from_ucs4[][2] =
 		break;							      \
 	      }								      \
 									      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    incr = 1;							      \
 	  }								      \
 	else								      \
@@ -501,7 +501,7 @@ static const char from_ucs4[][2] =
 		    break;						      \
 		  }							      \
 									      \
-		++*converted; 						      \
+		++*irreversible;					      \
 		inptr += 4;						      \
 		continue;						      \
 	      }								      \
@@ -549,7 +549,7 @@ static const char from_ucs4[][2] =
 		break;							      \
 	      }								      \
 									      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    inptr += 4;							      \
 	    continue;							      \
 	  }								      \
@@ -567,7 +567,7 @@ static const char from_ucs4[][2] =
 		break;							      \
 	      }								      \
 									      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    inptr += 4;							      \
 	    continue;							      \
 	  }								      \
diff --git a/iconvdata/big5.c b/iconvdata/big5.c
index 363b2506d6..a52f850f73 100644
--- a/iconvdata/big5.c
+++ b/iconvdata/big5.c
@@ -8463,7 +8463,7 @@ static const char from_ucs4_tab13[][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -8481,7 +8481,7 @@ static const char from_ucs4_tab13[][2] =
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -8589,7 +8589,7 @@ static const char from_ucs4_tab13[][2] =
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       {									      \
diff --git a/iconvdata/big5hkscs.c b/iconvdata/big5hkscs.c
index 083b077c94..1ca22d65a6 100644
--- a/iconvdata/big5hkscs.c
+++ b/iconvdata/big5hkscs.c
@@ -12617,7 +12617,7 @@ static const char from_ucs4_tab14[][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -12635,7 +12635,7 @@ static const char from_ucs4_tab14[][2] =
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -12746,7 +12746,7 @@ static const char from_ucs4_tab14[][2] =
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       {									      \
diff --git a/iconvdata/euc-cn.c b/iconvdata/euc-cn.c
index b4c1725eea..2c2b36e433 100644
--- a/iconvdata/euc-cn.c
+++ b/iconvdata/euc-cn.c
@@ -55,7 +55,7 @@
 	    }								      \
 									      \
 	  ++inptr;							      \
-	  ++*converted;							      \
+	  ++*irreversible;						      \
 	  continue;							      \
 	}								      \
       else								      \
@@ -85,7 +85,7 @@
 		}							      \
 									      \
 	      ++inptr;							      \
-	      ++*converted;						      \
+	      ++*irreversible;						      \
 	      continue;							      \
 	    }								      \
 									      \
@@ -104,7 +104,7 @@
 		}							      \
 									      \
 	      inptr += 2;						      \
-	      ++*converted;						      \
+	      ++*irreversible;						      \
 	      continue;							      \
 	    }								      \
 									      \
@@ -148,7 +148,7 @@
 		  }							      \
 									      \
 		inptr += 4;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 									      \
diff --git a/iconvdata/euc-jp.c b/iconvdata/euc-jp.c
index a781182e78..93622e778e 100644
--- a/iconvdata/euc-jp.c
+++ b/iconvdata/euc-jp.c
@@ -57,7 +57,7 @@
 	  }								      \
 									      \
 	++inptr;							      \
-	++*converted;							      \
+	++*irreversible;						      \
 	continue;							      \
       }									      \
     else								      \
@@ -87,7 +87,7 @@
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -137,7 +137,7 @@
 		  }							      \
 									      \
 		inptr += 2;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 	    inptr = endp;						      \
@@ -228,7 +228,7 @@
 		      }							      \
 									      \
 		    inptr += 4;						      \
-		    ++*converted;					      \
+		    ++*irreversible;					      \
 		    continue;						      \
 		  }							      \
 	      }								      \
diff --git a/iconvdata/euc-kr.c b/iconvdata/euc-kr.c
index 48fdee3cdc..f067fbc548 100644
--- a/iconvdata/euc-kr.c
+++ b/iconvdata/euc-kr.c
@@ -91,7 +91,7 @@ euckr_from_ucs4 (uint32_t ch, unsigned char *cp)
 	  }								      \
 									      \
 	++inptr;							      \
-	++*converted;							      \
+	++*irreversible;						      \
 	continue;							      \
       }									      \
     else								      \
@@ -117,7 +117,7 @@ euckr_from_ucs4 (uint32_t ch, unsigned char *cp)
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -152,7 +152,7 @@ euckr_from_ucs4 (uint32_t ch, unsigned char *cp)
 	  }								      \
 									      \
 	inptr += 4;							      \
-	++*converted;							      \
+	++*irreversible;						      \
 	continue;							      \
       }									      \
 									      \
diff --git a/iconvdata/gbgbk.c b/iconvdata/gbgbk.c
index 9a3e385cba..0fbbfc81e4 100644
--- a/iconvdata/gbgbk.c
+++ b/iconvdata/gbgbk.c
@@ -108,7 +108,7 @@
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	  }								      \
 	else								      \
 	  {								      \
diff --git a/iconvdata/gbk.c b/iconvdata/gbk.c
index 405a3f8b23..952f76ab73 100644
--- a/iconvdata/gbk.c
+++ b/iconvdata/gbk.c
@@ -13132,7 +13132,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 	    }								      \
 									      \
 	  ++inptr;							      \
-	  ++*converted;							      \
+	  ++*irreversible;						      \
 	  continue;							      \
 	}								      \
       else								      \
@@ -13164,7 +13164,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 		}							      \
 									      \
 	      ++inptr;							      \
-	      ++*converted;						      \
+	      ++*irreversible;						      \
 	      continue;							      \
 	    }								      \
 									      \
@@ -13184,7 +13184,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 		}							      \
 									      \
 	      inptr += 2;						      \
-	      ++*converted;						      \
+	      ++*irreversible;						      \
 	      continue;							      \
 	    }								      \
 									      \
@@ -13456,7 +13456,7 @@ static const char __gbk_from_ucs4_tab12[][2] =
 	      break;							      \
 	    }								      \
 									      \
-	  ++*converted;							      \
+	  ++*irreversible;						      \
 	}								      \
       /* See whether there is enough room for the second byte we write.  */   \
       else if (NEED_LENGTH_TEST && cp[1] != '\0'			      \
diff --git a/iconvdata/iso-2022-cn.c b/iconvdata/iso-2022-cn.c
index c224ee7eac..38b138b928 100644
--- a/iconvdata/iso-2022-cn.c
+++ b/iconvdata/iso-2022-cn.c
@@ -128,7 +128,7 @@ enum
 	  }								      \
 									      \
 	++inptr;							      \
-	++*converted;							      \
+	++*irreversible;						      \
 	continue;							      \
       }									      \
 									      \
@@ -203,7 +203,7 @@ enum
 		break;							      \
 	      }								      \
 									      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -240,7 +240,7 @@ enum
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -332,7 +332,7 @@ enum
 		      }							      \
 									      \
 		    inptr += 4;						      \
-		    ++*converted;					      \
+		    ++*irreversible;					      \
 		    continue;						      \
 		  }							      \
 	      }								      \
diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c
index 8fc67b2b43..9b22ddd6b3 100644
--- a/iconvdata/iso-2022-jp.c
+++ b/iconvdata/iso-2022-jp.c
@@ -367,7 +367,7 @@ gconv_end (struct __gconv_step *data)
 		  }							      \
 									      \
 		++inptr;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 	    ch = iso88597_to_ucs4[inptr[2] - 0x20];			      \
@@ -380,7 +380,7 @@ gconv_end (struct __gconv_step *data)
 		  }							      \
 									      \
 		inptr += 3;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 	    inptr += 3;							      \
@@ -394,7 +394,7 @@ gconv_end (struct __gconv_step *data)
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -414,7 +414,7 @@ gconv_end (struct __gconv_step *data)
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 	++inptr;							      \
@@ -432,7 +432,7 @@ gconv_end (struct __gconv_step *data)
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 	++inptr;							      \
@@ -477,7 +477,7 @@ gconv_end (struct __gconv_step *data)
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -722,7 +722,7 @@ gconv_end (struct __gconv_step *data)
 			break;						      \
 		      }							      \
 									      \
-		    ++*converted;					      \
+		    ++*irreversible;					      \
 		  }							      \
 		else							      \
 		  {							      \
@@ -908,7 +908,7 @@ gconv_end (struct __gconv_step *data)
 					     break;			      \
 					  }				      \
 									      \
-					++*converted;			      \
+					++*irreversible;		      \
 				      }					      \
 				  }					      \
 			      }						      \
diff --git a/iconvdata/iso-2022-kr.c b/iconvdata/iso-2022-kr.c
index c4ef73e299..99208c9522 100644
--- a/iconvdata/iso-2022-kr.c
+++ b/iconvdata/iso-2022-kr.c
@@ -130,7 +130,7 @@ enum
 	  }								      \
 									      \
 	++inptr;							      \
-	++*converted;							      \
+	++*irreversible;						      \
 	continue;							      \
       }									      \
 									      \
@@ -201,7 +201,7 @@ enum
 		break;							      \
 	      }								      \
 									      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    ++inptr;							      \
 	    continue;							      \
 	  }								      \
@@ -261,7 +261,7 @@ enum
 		break;							      \
 	      }								      \
 									      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	  }								      \
 	else								      \
 	  {								      \
diff --git a/iconvdata/iso646.c b/iconvdata/iso646.c
index ea36ebc5cd..cdc77fc651 100644
--- a/iconvdata/iso646.c
+++ b/iconvdata/iso646.c
@@ -413,7 +413,7 @@ gconv_end (struct __gconv_step *data)
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       {									      \
@@ -890,7 +890,7 @@ gconv_end (struct __gconv_step *data)
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       *outptr++ = (unsigned char) ch;					      \
diff --git a/iconvdata/iso8859-1.c b/iconvdata/iso8859-1.c
index f40da077bb..7a5be60373 100644
--- a/iconvdata/iso8859-1.c
+++ b/iconvdata/iso8859-1.c
@@ -54,7 +54,7 @@
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       *outptr++ = (unsigned char) ch;					      \
diff --git a/iconvdata/iso_6937-2.c b/iconvdata/iso_6937-2.c
index a3c8be6b33..6895879744 100644
--- a/iconvdata/iso_6937-2.c
+++ b/iconvdata/iso_6937-2.c
@@ -427,7 +427,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -444,7 +444,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -465,7 +465,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 	++inptr;							      \
@@ -577,7 +577,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    inptr += 4;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -590,7 +590,7 @@ static const char from_ucs4[][2] =
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
 	inptr += 4;							      \
 	continue;							      \
       }									      \
diff --git a/iconvdata/iso_6937.c b/iconvdata/iso_6937.c
index 391adf9f17..d27b923689 100644
--- a/iconvdata/iso_6937.c
+++ b/iconvdata/iso_6937.c
@@ -419,7 +419,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -436,7 +436,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -457,7 +457,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 	++inptr;							      \
@@ -548,7 +548,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    inptr += 4;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -561,7 +561,7 @@ static const char from_ucs4[][2] =
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
 	inptr += 4;							      \
 	continue;							      \
       }									      \
diff --git a/iconvdata/johab.c b/iconvdata/johab.c
index fccfbabd4e..50b974686b 100644
--- a/iconvdata/johab.c
+++ b/iconvdata/johab.c
@@ -193,7 +193,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 	else								      \
@@ -235,7 +235,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
 		      }							      \
 									      \
 		    ++inptr;						      \
-		    ++*converted;					      \
+		    ++*irreversible;					      \
 		    continue;						      \
 		  }							      \
 		else if (i > 0 && m > 0)				      \
@@ -258,7 +258,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
 		      }							      \
 									      \
 		    ++inptr;						      \
-		    ++*converted;					      \
+		    ++*irreversible;					      \
 		    continue;						      \
 		  }							      \
 	      }								      \
@@ -279,7 +279,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
 		      }							      \
 									      \
 		    ++inptr;						      \
-		    ++*converted;					      \
+		    ++*irreversible;					      \
 		    continue;						      \
 		  }							      \
 		else							      \
@@ -309,7 +309,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -404,7 +404,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
 		  }							      \
 									      \
 		inptr += 4;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 									      \
@@ -441,7 +441,7 @@ johab_sym_hanja_to_ucs (uint_fast32_t idx, uint_fast32_t c1, uint_fast32_t c2)
 		  }							      \
 									      \
 		inptr += 4;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 									      \
diff --git a/iconvdata/sjis.c b/iconvdata/sjis.c
index 172246843c..0f38362fb3 100644
--- a/iconvdata/sjis.c
+++ b/iconvdata/sjis.c
@@ -4367,7 +4367,7 @@ static const char from_ucs4_extra[0x100][2] =
 	  }								      \
 									      \
 	++inptr;							      \
-	++*converted;							      \
+	++*irreversible;						      \
 	continue;							      \
       }									      \
     else								      \
@@ -4402,7 +4402,7 @@ static const char from_ucs4_extra[0x100][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 	else								      \
@@ -4433,7 +4433,7 @@ static const char from_ucs4_extra[0x100][2] =
 	      }								      \
 									      \
 	    inptr += 2;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -4474,7 +4474,7 @@ static const char from_ucs4_extra[0x100][2] =
 	      }								      \
 									      \
 	    inptr += 4;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
@@ -4491,7 +4491,7 @@ static const char from_ucs4_extra[0x100][2] =
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       {									      \
diff --git a/iconvdata/t.61.c b/iconvdata/t.61.c
index 766dd0fe97..74fbf8aca7 100644
--- a/iconvdata/t.61.c
+++ b/iconvdata/t.61.c
@@ -411,7 +411,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    ++inptr;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -432,7 +432,7 @@ static const char from_ucs4[][2] =
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       {									      \
@@ -475,7 +475,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    inptr += 4;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 	else								      \
@@ -502,7 +502,7 @@ static const char from_ucs4[][2] =
 	      }								      \
 									      \
 	    inptr += 4;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
       }									      \
diff --git a/iconvdata/uhc.c b/iconvdata/uhc.c
index 767c21f513..d62f93bf29 100644
--- a/iconvdata/uhc.c
+++ b/iconvdata/uhc.c
@@ -3076,7 +3076,7 @@ static const char uhc_hangul_from_ucs[11172][2] =
 	  }								      \
 									      \
 	++inptr;							      \
-	++*converted;							      \
+	++*irreversible;						      \
 	continue;							      \
       }									      \
     else								      \
@@ -3130,7 +3130,7 @@ static const char uhc_hangul_from_ucs[11172][2] =
 		  }							      \
 									      \
 		++inptr;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 									      \
@@ -3151,7 +3151,7 @@ static const char uhc_hangul_from_ucs[11172][2] =
 		  }							      \
 									      \
 		inptr += 2;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 									      \
@@ -3171,7 +3171,7 @@ static const char uhc_hangul_from_ucs[11172][2] =
 		  }							      \
 									      \
 		inptr += 2;						      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 	  }								      \
@@ -3229,7 +3229,7 @@ static const char uhc_hangul_from_ucs[11172][2] =
 	      }								      \
 									      \
 	    inptr += 4;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
@@ -3261,7 +3261,7 @@ static const char uhc_hangul_from_ucs[11172][2] =
 	      }								      \
 									      \
 	    inptr += 4;							      \
-	    ++*converted;						      \
+	    ++*irreversible;						      \
 	    continue;							      \
 	  }								      \
 									      \
diff --git a/iconvdata/unicode.c b/iconvdata/unicode.c
index 34c563bd79..5309fc267f 100644
--- a/iconvdata/unicode.c
+++ b/iconvdata/unicode.c
@@ -158,7 +158,7 @@ gconv_end (struct __gconv_step *data)
 	    break;							      \
 	  }								      \
 									      \
-	++*converted;							      \
+	++*irreversible;						      \
       }									      \
     else								      \
       {									      \
diff --git a/iconvdata/utf-16.c b/iconvdata/utf-16.c
index 0be1108113..d24b55b2bc 100644
--- a/iconvdata/utf-16.c
+++ b/iconvdata/utf-16.c
@@ -208,7 +208,7 @@ gconv_end (struct __gconv_step *data)
 		    break;						      \
 		  }							      \
 									      \
-		++*converted;						      \
+		++*irreversible;					      \
 		inptr += 4;						      \
 		continue;						      \
 	      }								      \
@@ -241,7 +241,7 @@ gconv_end (struct __gconv_step *data)
 		    break;						      \
 		  }							      \
 									      \
-		++*converted;						      \
+		++*irreversible;					      \
 		inptr += 4;						      \
 		continue;						      \
 	      }								      \
@@ -315,7 +315,7 @@ gconv_end (struct __gconv_step *data)
 		    break;						      \
 		  }							      \
 									      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 									      \
@@ -358,7 +358,7 @@ gconv_end (struct __gconv_step *data)
 		    break;						      \
 		  }							      \
 									      \
-		++*converted;						      \
+		++*irreversible;					      \
 		continue;						      \
 	      }								      \
 									      \