X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Ftstpass.c;h=627a82cba4e6799c8ae4728bf085e9e5060980b4;hp=9b5b54b0239d03e624985a03b0b8ba59ad55c8eb;hb=def2cb6b3757af34ca257b9f93b22868f40ceebb;hpb=c393a764a0ff22b6a9a3560dfa3edbb46ccb13ae diff --git a/util/tstpass.c b/util/tstpass.c index 9b5b54b..627a82c 100644 --- a/util/tstpass.c +++ b/util/tstpass.c @@ -1,8 +1,5 @@ -/* $Id: tstpass.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) 2004-2013 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 @@ -39,7 +39,7 @@ static void tst(void) { char path[1024]; Passwd_db db; - + db = passwd_db_open(); YAZ_CHECK(db); if (!db) @@ -72,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