X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Ftsticonv.c;h=b98d640c014755a4a44620bfbb56d1456b7f5c0b;hb=4b3d1e197d75fcb2607be8d86d244f20c4180000;hp=fec436191dd104fd6fcc9120f60f94e6843c1133;hpb=88a38d975d021383194f2ec2a4e5a9b55decd21a;p=yaz-moved-to-github.git diff --git a/util/tsticonv.c b/util/tsticonv.c index fec4361..b98d640 100644 --- a/util/tsticonv.c +++ b/util/tsticonv.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2003, Index Data * See the file LICENSE for details. * - * $Id: tsticonv.c,v 1.4 2003-06-22 11:47:18 adam Exp $ + * $Id: tsticonv.c,v 1.5 2003-06-22 11:48:33 adam Exp $ */ #if HAVE_CONFIG_H @@ -70,13 +70,12 @@ static void marc8_tst() yaz_iconv_close(cd); } -static dconvert(int mandatory, const char *tmpcode) +static void dconvert(int mandatory, const char *tmpcode) { int i; yaz_iconv_t cd; for (i = 0; buf[i]; i++) { - int j; size_t r; char *inbuf = (char*) buf[i]; size_t inbytesleft = strlen(inbuf);