X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=ztest%2Fread-grs.c;h=4821738b44bf779310a89673912490868fe9849b;hp=1821de5bac0b86f55c3e1a09267f9a7b8dc754bf;hb=0f073baf2183a54f2a5691e697fde68c9a5f50c5;hpb=8d691989077a0addcbd840d769dce6700f3d9622 diff --git a/ztest/read-grs.c b/ztest/read-grs.c index 1821de5..4821738 100644 --- a/ztest/read-grs.c +++ b/ztest/read-grs.c @@ -1,13 +1,13 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: read-grs.c,v 1.14 2007-01-03 08:42:18 adam Exp $ */ - -/* - * Little toy-thing to read a GRS-1 records from a file. +/** \file + * \brief Little toy-thing to read GRS-1 records from a file. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -16,6 +16,8 @@ #include #include +#include "ztest.h" + #define GRS_MAX_FIELDS 50 static Z_GenericRecord *read_grs1(FILE *f, ODR o) @@ -118,6 +120,7 @@ Z_GenericRecord *dummy_grs_record (int num, ODR o) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab