X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstdio.c;h=b647828c954182af58478a1fd2d085268b2966f2;hp=6d68439393a34ee26b3df56ea25dd49e10a69d20;hb=935b1ba0c2c3dc480b0afcb3673abe2ef2dd893f;hpb=88d3bedf772316f87e1996f655ccf8d1e2589755 diff --git a/src/cqlstdio.c b/src/cqlstdio.c index 6d68439..b647828 100644 --- a/src/cqlstdio.c +++ b/src/cqlstdio.c @@ -1,16 +1,18 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * 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; @@ -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;