projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more info on DOM filter config
[idzebra-moved-to-github.git]
/
util
/
tstcharmap.c
diff --git
a/util/tstcharmap.c
b/util/tstcharmap.c
index
da7151a
..
5f92923
100644
(file)
--- a/
util/tstcharmap.c
+++ b/
util/tstcharmap.c
@@
-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.
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 */
#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)
{
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 */,
{
/* open existing map chrmaptab.chr */
chrmaptab tab = chrmaptab_create(get_srcdir() /* tabpath */,
@@
-48,7
+48,7
@@
void tst1()
chrmaptab_destroy(tab);
}
chrmaptab_destroy(tab);
}
-void tst2()
+void tst2(void)
{
/* open non-existing nonexist.chr */
chrmaptab tab = chrmaptab_create(get_srcdir() /* tabpath */,
{
/* open non-existing nonexist.chr */
chrmaptab tab = chrmaptab_create(get_srcdir() /* tabpath */,