X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fquery-charset.c;h=2aa571be86b655365e02c0e022682add356a01b7;hb=173f78f50536784bdc6a59d4586ba409b2b69182;hp=2001315c3d07218e59ce19f3344b9953520d57c9;hpb=62fd62f25a6893d042c4c87f8c770929fd8cf95d;p=yaz-moved-to-github.git diff --git a/src/query-charset.c b/src/query-charset.c index 2001315..2aa571b 100644 --- a/src/query-charset.c +++ b/src/query-charset.c @@ -1,8 +1,6 @@ -/* - * Copyright (C) 1995-2007, Index Data ApS - * All rights reserved. - * - * $Id: query-charset.c,v 1.1 2007-03-21 19:47:28 adam Exp $ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2009 Index Data + * See the file LICENSE for details. */ /** \file query-charset.c @@ -12,10 +10,8 @@ #include #include -#include +#include #include -#include -#include void yaz_query_charset_convert_buf(char *buf_in, int len_in, char **buf_out, int *len_out, @@ -27,7 +23,7 @@ void yaz_query_charset_convert_buf(char *buf_in, int len_in, *len_out = wrbuf_len(wrbuf); if (*len_out == 0) - { // we assume conversion failed + { /* we assume conversion failed */ *buf_out = buf_in; *len_out = len_in; } @@ -101,6 +97,7 @@ void yaz_query_charset_convert_apt(Z_AttributesPlusTerm *apt, /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab