X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fsiconv.c;h=0c974b8fa4e63f1d8826be1c67b36410e32fe10b;hp=6e061d8efe7e81668e7ba126a2524c75b794c8e2;hb=0e7fdbc857d4905e67a7bdf8fe5b6c773ee47a7b;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/siconv.c b/src/siconv.c index 6e061d8..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-2010 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ /** @@ -20,7 +20,6 @@ #include #include #include -#include #if HAVE_ICONV_H #include @@ -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;