X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstdio.c;h=b647828c954182af58478a1fd2d085268b2966f2;hp=83875f1105ee72b915bb0076d56a2402eedb75c9;hb=6eac80f3642f68e6d7ae5ed60574b96327d55051;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/src/cqlstdio.c b/src/cqlstdio.c index 83875f1..b647828 100644 --- a/src/cqlstdio.c +++ b/src/cqlstdio.c @@ -1,20 +1,18 @@ -/* $Id: cqlstdio.c,v 1.4 2005-06-25 15:46:03 adam Exp $ - Copyright (C) 1995-2005, Index Data ApS - Index Data Aps - -This file is part of the YAZ toolkit. - -See the file LICENSE for details. -*/ - +/* This file is part of the YAZ toolkit. + * Copyright (C) Index Data + * See the file LICENSE for details. + */ /** * \file cqlstdio.c * \brief Implements query stream reading using FILE handle. */ +#if HAVE_CONFIG_H +#include +#endif #include -int getbyte_stream(void *client_data) +static int getbyte_stream(void *client_data) { FILE *f = (FILE*) client_data; @@ -24,7 +22,7 @@ int getbyte_stream(void *client_data) return c; } -void ungetbyte_stream (int c, void *client_data) +static void ungetbyte_stream(int c, void *client_data) { FILE *f = (FILE*) client_data; @@ -42,6 +40,7 @@ int cql_parser_stdio(CQL_parser cp, FILE *f) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab