X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Ftstpass.c;h=742b202b0458724739bb13a1b34cc99ea5906920;hp=38745cbecc7872e95a92c17fc58663767d20096f;hb=HEAD;hpb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc diff --git a/util/tstpass.c b/util/tstpass.c index 38745cb..742b202 100644 --- a/util/tstpass.c +++ b/util/tstpass.c @@ -1,5 +1,5 @@ /* This file is part of the Zebra server. - Copyright (C) 1994-2009 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 #include @@ -36,7 +39,7 @@ static void tst(void) { char path[1024]; Passwd_db db; - + db = passwd_db_open(); YAZ_CHECK(db); if (!db) @@ -69,6 +72,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