X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Fnfaxmltest1.c;h=94ee4c5706fbc41b647b7a064a37e040724bd7bb;hp=754be3b209e0ccdef1a4e037a7ee13fad4bfbe4e;hb=9dfcbb70828f8d5b524c9bb45852246ae1dd6878;hpb=358e1b7e886e6130547ca28e72e0f7fdb4f1c409 diff --git a/test/nfaxmltest1.c b/test/nfaxmltest1.c index 754be3b..94ee4c5 100644 --- a/test/nfaxmltest1.c +++ b/test/nfaxmltest1.c @@ -1,7 +1,7 @@ /* Copyright (C) 2006, Index Data ApS * See the file LICENSE for details. * - * $Id: nfaxmltest1.c,v 1.7 2006-07-14 13:06:38 heikki Exp $ + * $Id: nfaxmltest1.c,v 1.8 2006-10-04 16:59:34 mike Exp $ * */ @@ -18,7 +18,7 @@ /** \brief Test parsing of a minimal, valid xml string */ -void test1() { +void test1(void) { char *xmlstr = " " " " " foo " @@ -32,7 +32,7 @@ void test1() { /** \brief Test parsing of a minimal, invalid xml string */ -void test2() { +void test2(void) { yaz_nfa *nfa; char *xmlstr = " " " " @@ -48,7 +48,7 @@ void test2() { } /** \brief Test parsing a few minimal xml files */ -void test3() { +void test3(void) { char *goodfilenames[] = { "nfaxml-simple.xml", "nfaxml-main.xml", /* x-includes nfaxml-include */ @@ -74,7 +74,7 @@ void test3() { } /** \brief Test parsing of a few minimal xml strings, with logical errors */ -void test4() { +void test4(void) { yaz_nfa *nfa; char *xmls[] = { /*a*/" ", @@ -130,7 +130,7 @@ void test4() { } } /* test4 */ -static void test5() { +static void test5(void) { struct conv_test { unsigned char *name; int expresult;