Make read_utf8(), like read_sbcs(), accessible to the rest of the library,
[sgt/charset] / utf8.c
diff --git a/utf8.c b/utf8.c
index 90856e9..c9a9685 100644 (file)
--- a/utf8.c
+++ b/utf8.c
@@ -11,9 +11,9 @@
  * UTF-8 has no associated data, so `charset' may be ignored.
  */
 
-static void read_utf8(charset_spec const *charset, long int input_chr,
-                     charset_state *state,
-                     void (*emit)(void *ctx, long int output), void *emitctx)
+void read_utf8(charset_spec const *charset, long int input_chr,
+              charset_state *state,
+              void (*emit)(void *ctx, long int output), void *emitctx)
 {
     UNUSEDARG(charset);