X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Ftstres.c;h=30566a611dcdd936d12e55140c702219291453ef;hp=15ff89a2c90bcec4fb194dbada4d66a7ab12b62b;hb=c3ff843e467932c6027a8b3b2ebda7b44612447e;hpb=c393a764a0ff22b6a9a3560dfa3edbb46ccb13ae diff --git a/util/tstres.c b/util/tstres.c index 15ff89a..30566a6 100644 --- a/util/tstres.c +++ b/util/tstres.c @@ -1,8 +1,5 @@ -/* $Id: tstres.c,v 1.4 2007-12-13 19:50:26 adam Exp $ - Copyright (C) 1995-2007 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -20,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -64,7 +64,7 @@ static void tst_res_read_file(void) const char *v; char path[1024]; int r; - + yaz_snprintf(path, sizeof(path), "%s/tstres.cfg", get_srcdir()); r = res_read_file(res, path); YAZ_CHECK_EQ(r, ZEBRA_OK); @@ -95,6 +95,7 @@ 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