X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-marc-sample.cpp;h=c165a7c5334d745fe31209de9abf0f6196a76285;hb=bed85d2160500f57db63f4ab9d5533e0225cce15;hp=5708a5dd69bffe501b3d7513bccae567b589bff7;hpb=86726b00b052694e65b036c262f5fe9096554175;p=yazpp-moved-to-github.git diff --git a/src/yaz-marc-sample.cpp b/src/yaz-marc-sample.cpp index 5708a5d..c165a7c 100644 --- a/src/yaz-marc-sample.cpp +++ b/src/yaz-marc-sample.cpp @@ -1,11 +1,12 @@ -/* - * Copyright (c) 2000-2001, Index Data. +/* This file is part of the yazpp toolkit. + * Copyright (C) 1998-2012 Index Data and Mike Taylor * See the file LICENSE for details. - * - * $Id: yaz-marc-sample.cpp,v 1.8 2005-06-02 06:40:21 adam Exp $ */ -#include +#if HAVE_CONFIG_H +#include +#endif +#include using namespace yazpp_1; @@ -1483,7 +1484,16 @@ static const char *marc_records[] = { const char *Yaz_USMARC::get_record(size_t position) { if (position >= 1 && position <= ( - sizeof(marc_records) / sizeof(*marc_records))) - return marc_records[position-1]; + sizeof(marc_records) / sizeof(*marc_records))) + return marc_records[position-1]; return 0; } +/* + * Local variables: + * c-basic-offset: 4 + * c-file-style: "Stroustrup" + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +