/* 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 <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;
return c;
}
-void ungetbyte_stream (int c, void *client_data)
+static void ungetbyte_stream(int c, void *client_data)
{
FILE *f = (FILE*) client_data;
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab