write_utf8() is used in iso2022.c as of r6378; declare it.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 23 Oct 2005 10:14:01 +0000 (10:14 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sun, 23 Oct 2005 10:14:01 +0000 (10:14 +0000)
(Fixes a warning in iso2022.c. There are lots more.)

git-svn-id: svn://svn.tartarus.org/sgt/charset@6424 cda61777-01e9-0310-a592-d414129be87e

internal.h

index 267969e..5d215a5 100644 (file)
@@ -97,6 +97,10 @@ long int sbcs_from_unicode(const struct sbcs_data *sd, long int input_chr);
 void read_utf8(charset_spec const *charset, long int input_chr,
               charset_state *state,
               void (*emit)(void *ctx, long int output), void *emitctx);
+int write_utf8(charset_spec const *charset, long int input_chr,
+              charset_state *state,
+              void (*emit)(void *ctx, long int output),
+              void *emitctx);
 
 long int big5_to_unicode(int r, int c);
 int unicode_to_big5(long int unicode, int *r, int *c);