projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix un-init var in icu_iter_get_org_info YAZ-665
[yaz-moved-to-github.git]
/
src
/
iconv_decode_danmarc.c
diff --git
a/src/iconv_decode_danmarc.c
b/src/iconv_decode_danmarc.c
index
7e86c0d
..
4105137
100644
(file)
--- a/
src/iconv_decode_danmarc.c
+++ b/
src/iconv_decode_danmarc.c
@@
-1,5
+1,5
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2011 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
/**
* See the file LICENSE for details.
*/
/**
@@
-15,7
+15,6
@@
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <string.h>
-#include <ctype.h>
#include <stdio.h>
#include <yaz/log.h>
#include <yaz/xmalloc.h>
#include <stdio.h>
#include <yaz/log.h>
#include <yaz/xmalloc.h>
@@
-25,7
+24,7
@@
struct decoder_data {
unsigned long x_back;
};
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)
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)
yaz_iconv_decoder_t yaz_danmarc_decoder(const char *fromcode,
yaz_iconv_decoder_t d)
-
+
{
if (!yaz_matchstr(fromcode, "danmarc"))
{
{
if (!yaz_matchstr(fromcode, "danmarc"))
{