Fixed several prototypes.. Most changes are f() to f(void).
[idzebra-moved-to-github.git] / util / tstcharmap.c
index da7151a..201a900 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: tstcharmap.c,v 1.5 2006-08-14 10:40:34 adam Exp $
+/* $Id: tstcharmap.c,v 1.6 2006-10-29 17:20:02 adam Exp $
    Copyright (C) 1995-2006
    Index Data ApS
 
@@ -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 */,