X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstdio.c;h=8eebab1981c7598fadc080a0ec409cd0da15fd9b;hp=d5458cb388b7ca46de3f331be41091c83bd595e1;hb=d2ed898832ae354c17254ff52c70c92278518efe;hpb=ee6ab2ee3a9ee1a8c65d7272ec7fba1d886f5af0 diff --git a/src/cqlstdio.c b/src/cqlstdio.c index d5458cb..8eebab1 100644 --- a/src/cqlstdio.c +++ b/src/cqlstdio.c @@ -1,16 +1,18 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2008 Index Data + * Copyright (C) 1995-2013 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; @@ -20,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; @@ -38,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