document timeout option
[yaz-moved-to-github.git] / test / tstodrstack.c
index 96788c2..2cde413 100644 (file)
@@ -1,9 +1,6 @@
-/*
- * Copyright (C) 1995-2005, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2009 Index Data
  * See the file LICENSE for details.
- *
- * $Id: tstodrstack.c,v 1.4 2006-01-29 21:59:13 adam Exp $
- *
  */
 #include <stdlib.h>
 #include <yaz/pquery.h>
@@ -11,7 +8,7 @@
 #include <yaz/test.h>
 
 /** \brief build a 100 level query */
-void test1()
+void test1(void)
 {
     ODR odr = odr_createmem(ODR_ENCODE);
     YAZ_PQF_Parser parser = yaz_pqf_create();
@@ -39,7 +36,7 @@ void test1()
 }
 
 /** \brief build a circular referenced query */
-void test2()
+void test2(void)
 {
     ODR odr = odr_createmem(ODR_ENCODE);
     YAZ_PQF_Parser parser = yaz_pqf_create();
@@ -71,7 +68,9 @@ int main(int argc, char **argv)
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab
  */
+