From: jacob Date: Sun, 23 Oct 2005 10:14:01 +0000 (+0000) Subject: write_utf8() is used in iso2022.c as of r6378; declare it. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/charset/commitdiff_plain/da5d8e854d80324a6b094aa38443da694c341e75 write_utf8() is used in iso2022.c as of r6378; declare it. (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 --- diff --git a/internal.h b/internal.h index 267969e..5d215a5 100644 --- a/internal.h +++ b/internal.h @@ -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);