X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Frusmarc%2Ft1.c;h=91623ac8ea5674ec1a89d10ca64774ba4830c5be;hb=5403eea61e14f91b1863c151cfa0f60561ca95ec;hp=ea18770eb52d29bffdfb5dbea4501a0ac2a405b0;hpb=4478d785b7769691261005c98063b98a5a5971b3;p=idzebra-moved-to-github.git diff --git a/test/rusmarc/t1.c b/test/rusmarc/t1.c index ea18770..91623ac 100644 --- a/test/rusmarc/t1.c +++ b/test/rusmarc/t1.c @@ -1,8 +1,5 @@ -/* $Id: t1.c,v 1.7 2006-08-14 10:40:29 adam Exp $ - Copyright (C) 1995-2006 - 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,11 +17,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include "../api/testlib.h" -void check_koi8r() +void check_koi8r(void) { yaz_iconv_t cd = yaz_iconv_open("koi8-r", "utf-8"); if (!cd) @@ -37,7 +37,7 @@ void check_koi8r() static void tst(int argc, char **argv) { - + ZebraService zs = tl_start_up(0, argc, argv); ZebraHandle zh = zebra_open(zs, 0); char path[256]; @@ -63,6 +63,7 @@ TL_MAIN /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab