X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dfa%2Ftest_dfa.c;h=b2c166216972482ffe3f3951dd8188157f1c974e;hp=4b37b6fa10b23aebda8aa98913821ad95df966e1;hb=HEAD;hpb=47eafc2497abc6886cd77cd3707eddeafdd244dc diff --git a/dfa/test_dfa.c b/dfa/test_dfa.c index 4b37b6f..b2c1662 100644 --- a/dfa/test_dfa.c +++ b/dfa/test_dfa.c @@ -1,8 +1,5 @@ -/* $Id: test_dfa.c,v 1.1 2007-11-08 21:21:16 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 @@ -30,7 +30,7 @@ int test_parse(struct DFA *dfa, const char *pattern) i = dfa_parse(dfa, &cp); return i; } - + static void tst(int argc, char **argv) { struct DFA *dfa = dfa_init(); @@ -62,6 +62,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