X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsiconv.c;h=0c974b8fa4e63f1d8826be1c67b36410e32fe10b;hb=a3e65bcd3250b107397675bc65b35b5939355025;hp=36a0f2c24fb01e839d96c5805ccb57e866cbaf9f;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/src/siconv.c b/src/siconv.c index 36a0f2c..0c974b8 100644 --- a/src/siconv.c +++ b/src/siconv.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** @@ -20,14 +20,13 @@ #include #include #include -#include #if HAVE_ICONV_H #include #endif #include -#include +#include #include "iconv-p.h" struct yaz_iconv_struct { @@ -99,7 +98,7 @@ static int prepare_decoders(yaz_iconv_t cd, const char *tocode) yaz_iconv_t yaz_iconv_open(const char *tocode, const char *fromcode) { - yaz_iconv_t cd = (yaz_iconv_t) xmalloc (sizeof(*cd)); + yaz_iconv_t cd = (yaz_iconv_t) xmalloc(sizeof(*cd)); cd->encoder.data = 0; cd->encoder.write_handle = 0;