X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ficonv_decode_danmarc.c;h=e53075b52f9ab346eec1e5d8c2f7c57f886c7efc;hb=00537b483d646bd04a204708ecbde708861f044e;hp=7e86c0d591c2706e5797bd4fc1b0130e75fe30d7;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35;p=yaz-moved-to-github.git diff --git a/src/iconv_decode_danmarc.c b/src/iconv_decode_danmarc.c index 7e86c0d..e53075b 100644 --- a/src/iconv_decode_danmarc.c +++ b/src/iconv_decode_danmarc.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2011 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include @@ -25,7 +24,7 @@ struct decoder_data { unsigned long x_back; }; -static unsigned long read_danmarc(yaz_iconv_t cd, +static unsigned long read_danmarc(yaz_iconv_t cd, yaz_iconv_decoder_t d, unsigned char *inp, size_t inbytesleft, size_t *no_read) @@ -106,7 +105,7 @@ void destroy_danmarc(yaz_iconv_decoder_t d) yaz_iconv_decoder_t yaz_danmarc_decoder(const char *fromcode, yaz_iconv_decoder_t d) - + { if (!yaz_matchstr(fromcode, "danmarc")) {