X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ficonv_decode_iso5426.c;h=1a883fc7870f12b88ef50e16944420e13345dfc7;hp=0bef7a72275dff44681b93efac9c72e4f1e72f4e;hb=db4394606d431a5070f67299895459d7ed179a4c;hpb=919e3dd6d63e3371053b5be495ee4c0b74ef2e13 diff --git a/src/iconv_decode_iso5426.c b/src/iconv_decode_iso5426.c index 0bef7a7..1a883fc 100644 --- a/src/iconv_decode_iso5426.c +++ b/src/iconv_decode_iso5426.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** @@ -21,7 +21,6 @@ #include #include #include -#include #include #include "iconv-p.h" @@ -67,7 +66,7 @@ static unsigned long read_iso5426(yaz_iconv_t cd, yaz_iconv_decoder_t d, *no_read = data->comb_no_read[data->comb_offset]; x = data->comb_x[data->comb_offset]; - /* special case for double-diacritic combining characters, + /* special case for double-diacritic combining characters, INVERTED BREVE and DOUBLE TILDE. We'll increment the no_read counter by 1, since we want to skip over the processing of the closing ligature character @@ -110,6 +109,8 @@ static unsigned long read_iso5426(yaz_iconv_t cd, yaz_iconv_decoder_t d, return x; } +#if 0 +/* not used */ static unsigned long read_iso5426s(yaz_iconv_t cd, yaz_iconv_decoder_t d, unsigned char *inp, size_t inbytesleft, size_t *no_read) @@ -126,6 +127,7 @@ static unsigned long read_iso5426s(yaz_iconv_t cd, yaz_iconv_decoder_t d, } return x; } +#endif static unsigned long yaz_read_iso5426_comb(yaz_iconv_t cd, struct decoder_data *data, @@ -284,7 +286,9 @@ yaz_iconv_decoder_t yaz_iso5426_decoder(const char *fromcode, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +