X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fwaislen.c;h=9e44ab2d10073a28d4d1f21a5476e1f80e1f6156;hb=b56b6242e4e9c0011b9a2dae6d67c3ef0789251f;hp=fa7ee5fc590ec33bdd0c6f33edb0cfaecd605240;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/src/waislen.c b/src/waislen.c index fa7ee5f..9e44ab2 100644 --- a/src/waislen.c +++ b/src/waislen.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2005, Index Data ApS +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. - * - * $Id: waislen.c,v 1.4 2005-06-25 15:46:06 adam Exp $ */ /** * \file waislen.c @@ -11,11 +9,10 @@ #include #include -#include /* * Return length of WAIS package or 0 */ -int completeWAIS(const unsigned char *buf, int len) +int completeWAIS(const char *buf, int len) { int i, lval = 0; @@ -34,6 +31,7 @@ int completeWAIS(const unsigned char *buf, int len) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab