The functions getbyte_stream, ungetbyte_stream and yaz_gets
are now private. They were never declared in a header file.
#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;
#include <yaz/wrbuf.h>
#include <yaz/yaz-util.h>
-int yaz_gets(int (*getbyte)(void *client_data),
- void (*ungetbyte)(int b, void *client_data),
- void *client_data,
- WRBUF w)
+static int yaz_gets(int (*getbyte)(void *client_data),
+ void (*ungetbyte)(int b, void *client_data),
+ void *client_data,
+ WRBUF w)
{
size_t sz = 0;
int ch = getbyte(client_data);