X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=util%2Ftstpass.c;h=742b202b0458724739bb13a1b34cc99ea5906920;hp=9b5b54b0239d03e624985a03b0b8ba59ad55c8eb;hb=c3ff843e467932c6027a8b3b2ebda7b44612447e;hpb=c393a764a0ff22b6a9a3560dfa3edbb46ccb13ae diff --git a/util/tstpass.c b/util/tstpass.c index 9b5b54b..742b202 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) 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