X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Ficonv_decode_danmarc.c;h=4105137dacb0070857d4d5626ff76a62f056d7b5;hp=37831f9a9e658444ae5c40c73234edcabaf9e195;hb=0c46d2e66bdeea1600e700124a81a5d0a65d349e;hpb=3c03c66fdcf640bbf4c611a48bf8c74989d077f6 diff --git a/src/iconv_decode_danmarc.c b/src/iconv_decode_danmarc.c index 37831f9..4105137 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-2008 Index Data + * Copyright (C) 1995-2013 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")) { @@ -126,7 +125,9 @@ yaz_iconv_decoder_t yaz_danmarc_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 */ +