2007.
[idzebra-moved-to-github.git] / util / tstcharmap.c
index da7151a..5f92923 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: tstcharmap.c,v 1.5 2006-08-14 10:40:34 adam Exp $
-   Copyright (C) 1995-2006
+/* $Id: tstcharmap.c,v 1.7 2007-01-15 15:10:26 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -27,7 +27,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 #include <yaz/log.h>
 
 /* use env srcdir as base directory - or current directory if unset */
-const char *get_srcdir()
+const char *get_srcdir(void)
 {
     const char *srcdir = getenv("srcdir");
     if (!srcdir || ! *srcdir)
@@ -36,7 +36,7 @@ const char *get_srcdir()
 
 }
 
-void tst1()
+void tst1(void)
 {
     /* open existing map chrmaptab.chr */
     chrmaptab tab = chrmaptab_create(get_srcdir() /* tabpath */,
@@ -48,7 +48,7 @@ void tst1()
     chrmaptab_destroy(tab);
 }
 
-void tst2()
+void tst2(void)
 {
     /* open non-existing nonexist.chr */
     chrmaptab tab = chrmaptab_create(get_srcdir() /* tabpath */,