X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fcodec%2Ftstcodec.c;h=cd9bee6e34568cba680c12db8a2a55b43b38a69c;hb=5d536c8cf5400b1e4da91061cf736a9ab53e5bd1;hp=40cfcc434d125f8151559b2ad32e455f186f378f;hpb=4478d785b7769691261005c98063b98a5a5971b3;p=idzebra-moved-to-github.git diff --git a/test/codec/tstcodec.c b/test/codec/tstcodec.c index 40cfcc4..cd9bee6 100644 --- a/test/codec/tstcodec.c +++ b/test/codec/tstcodec.c @@ -1,8 +1,5 @@ -/* $Id: tstcodec.c,v 1.10 2006-08-14 10:40:24 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2011 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 "../../index/index.h" @@ -109,7 +109,7 @@ int tst_encode(int num) return 0; } -void tstcodec1() +void tstcodec1(void) { char buf[100]; char *dst = buf; @@ -227,6 +227,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