projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaz-ztest returns schema for MARCXML test records
[yaz-moved-to-github.git]
/
src
/
cqlstdio.c
diff --git
a/src/cqlstdio.c
b/src/cqlstdio.c
index
f468f3d
..
8eebab1
100644
(file)
--- a/
src/cqlstdio.c
+++ b/
src/cqlstdio.c
@@
-1,16
+1,18
@@
/* This file is part of the YAZ toolkit.
/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data
+ * Copyright (C) 1995-2013 Index Data
* See the file LICENSE for details.
*/
* See the file LICENSE for details.
*/
-
/**
* \file cqlstdio.c
* \brief Implements query stream reading using FILE handle.
*/
/**
* \file cqlstdio.c
* \brief Implements query stream reading using FILE handle.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/cql.h>
#include <yaz/cql.h>
-int getbyte_stream(void *client_data)
+static int getbyte_stream(void *client_data)
{
FILE *f = (FILE*) client_data;
{
FILE *f = (FILE*) client_data;
@@
-20,7
+22,7
@@
int getbyte_stream(void *client_data)
return c;
}
return c;
}
-void ungetbyte_stream (int c, void *client_data)
+static void ungetbyte_stream(int c, void *client_data)
{
FILE *f = (FILE*) client_data;
{
FILE *f = (FILE*) client_data;