X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/charset/blobdiff_plain/7a7dc0a794235868318c60726f42e175766045e8..35f8c24335935ec42fda37849e4d5ee6a6466e7a:/utf8.c diff --git a/utf8.c b/utf8.c index c9a9685..fa4f0a8 100644 --- a/utf8.c +++ b/utf8.c @@ -8,6 +8,12 @@ #include "internal.h" /* + * The internal read_utf8 and write_utf8 functions in this module + * are not static, because they're also called internally from + * iso2022.c. + */ + +/* * UTF-8 has no associated data, so `charset' may be ignored. */ @@ -193,10 +199,10 @@ void read_utf8(charset_spec const *charset, long int input_chr, * charset_state. */ -static int write_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) { UNUSEDARG(charset); UNUSEDARG(state);