/* 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.
*/
/**
#include <assert.h>
#include <errno.h>
#include <string.h>
-#include <ctype.h>
#if HAVE_ICONV_H
#include <iconv.h>
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;