Fix sample PQF
[yaz-moved-to-github.git] / util / tsticonv.c
index f5b71dc..b98d640 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 2002-2003, Index Data
  * See the file LICENSE for details.
  *
- * $Id: tsticonv.c,v 1.3 2003-05-22 22:44:50 adam Exp $
+ * $Id: tsticonv.c,v 1.5 2003-06-22 11:48:33 adam Exp $
  */
 
 #if HAVE_CONFIG_H
@@ -36,7 +36,7 @@ const char *marc8_strings[] = {
     0
 };
 
-static marc8_tst()
+static void marc8_tst()
 {
     int i;
     yaz_iconv_t cd;
@@ -70,13 +70,12 @@ static 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);