X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fread-grs.c;h=162f9ab4302422c502f9badd1cea39ded141cebe;hb=4d300e643896e74f94514065da5236fc24f14b13;hp=ed806cfeae4059d09d599ee8cce95ed8a2bfc7ea;hpb=ee6ab2ee3a9ee1a8c65d7272ec7fba1d886f5af0;p=yaz-moved-to-github.git diff --git a/ztest/read-grs.c b/ztest/read-grs.c index ed806cf..162f9ab 100644 --- a/ztest/read-grs.c +++ b/ztest/read-grs.c @@ -1,11 +1,13 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2011 Index Data * See the file LICENSE for details. */ - -/* - * 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 @@ -14,6 +16,8 @@ #include #include +#include "ztest.h" + #define GRS_MAX_FIELDS 50 static Z_GenericRecord *read_grs1(FILE *f, ODR o) @@ -116,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