From 88a38d975d021383194f2ec2a4e5a9b55decd21a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 22 Jun 2003 11:47:18 +0000 Subject: [PATCH] Fix compile warnings --- util/tsticonv.c | 4 ++-- util/tstmatchstr.c | 34 +++++++++++++++++----------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/util/tsticonv.c b/util/tsticonv.c index f5b71dc..fec4361 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.3 2003-05-22 22:44:50 adam Exp $ + * $Id: tsticonv.c,v 1.4 2003-06-22 11:47:18 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; diff --git a/util/tstmatchstr.c b/util/tstmatchstr.c index bb8c9b1..4539ceb 100644 --- a/util/tstmatchstr.c +++ b/util/tstmatchstr.c @@ -2,7 +2,7 @@ * Copyright (c) 2002-2003, Index Data * See the file LICENSE for details. * - * $Id: tstmatchstr.c,v 1.1 2003-05-06 10:07:33 adam Exp $ + * $Id: tstmatchstr.c,v 1.2 2003-06-22 11:47:18 adam Exp $ */ #include @@ -14,22 +14,22 @@ struct { char *s2; int res; } comp_strings[] = { - "x", "x", 0, - "x", "X", 0, - "a", "b", 1, - "b", "a", 1, - "aa","a", 1, - "a-", "a", 1, - "A-b", "ab", 0, - "A--b", "ab", 1, - "A--b", "a-b", 1, - "A--b", "a--b", 0, - "a123", "a?", 0, - "a123", "a1.3", 0, - "a123", "..?", 0, - "a123", "a1.", 1, - "a123", "a...", 0, - 0, 0, 0}; + { "x", "x", 0 }, + { "x", "X", 0 }, + { "a", "b", 1 }, + { "b", "a", 1 }, + { "aa","a", 1 }, + { "a-", "a", 1 }, + { "A-b", "ab", 0}, + { "A--b", "ab", 1}, + { "A--b", "a-b", 1}, + { "A--b", "a--b", 0}, + { "a123", "a?", 0}, + {"a123", "a1.3", 0}, + {"a123", "..?", 0}, + {"a123", "a1.", 1}, + {"a123", "a...", 0}, + {0, 0, 0} }; int main (int argc, char **argv) { -- 1.7.10.4