X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dfa%2Ftest_dfa.c;h=b2c166216972482ffe3f3951dd8188157f1c974e;hp=df0d935b71738be2b3fedcd929cad3ef9cd35ba5;hb=HEAD;hpb=97a7adeb9e5059463f039495cc01cfa448463a27 diff --git a/dfa/test_dfa.c b/dfa/test_dfa.c index df0d935..b2c1662 100644 --- a/dfa/test_dfa.c +++ b/dfa/test_dfa.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1995-2008 Index Data + 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 @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -27,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(); @@ -59,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