X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftstpquery.c;h=f099862f7fc201678eaff5d7caa76291c71dfb27;hb=e69b8fde2b8c7f732e19b5d14e7c545114f7e422;hp=a3c0b25f3b490df1f4ba01091b261a5fe8c970c4;hpb=65e57b77a51d4b03e6ab7a41bcc11e8e8be62e83;p=yaz-moved-to-github.git diff --git a/test/tstpquery.c b/test/tstpquery.c index a3c0b25..f099862 100644 --- a/test/tstpquery.c +++ b/test/tstpquery.c @@ -1,8 +1,8 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tstpquery.c,v 1.2 2006-04-01 11:47:41 adam Exp $ + * $Id: tstpquery.c,v 1.4 2007-01-03 08:42:16 adam Exp $ */ #include @@ -55,7 +55,7 @@ int expect_pqf(const char *pqf, const char *expect_pqf, int expect_error) return res; } -static void tst() +static void tst(void) { YAZ_CHECK(expect_pqf("a", "@attrset Bib-1 a", YAZ_PQF_ERROR_NONE)); YAZ_CHECK(expect_pqf("@attr 1=4 a", "@attrset Bib-1 @attr 1=4 a", YAZ_PQF_ERROR_NONE));