Merge branch 'master' into yaz-744
[yaz-moved-to-github.git] / src / cqlstdio.c
index f468f3d..b647828 100644 (file)
@@ -1,16 +1,18 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 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 <config.h>
+#endif
 
 #include <yaz/cql.h>
 
-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;