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
Changed xmles command to take OID + doc as parameter (previous
[yaz-moved-to-github.git]
/
src
/
cqlstring.c
diff --git
a/src/cqlstring.c
b/src/cqlstring.c
index
94ea25e
..
6e83a0a
100644
(file)
--- a/
src/cqlstring.c
+++ b/
src/cqlstring.c
@@
-1,5
+1,5
@@
-/* $Id: cqlstring.c,v 1.2 2004-10-03 22:34:07 adam Exp $
- Copyright (C) 2002-2004
+/* $Id: cqlstring.c,v 1.4 2005-01-15 19:47:11 adam Exp $
+ Copyright (C) 1995-2005, Index Data ApS
Index Data Aps
This file is part of the YAZ toolkit.
Index Data Aps
This file is part of the YAZ toolkit.
@@
-12,7
+12,6
@@
See the file LICENSE for details.
* \brief Implements query stream reader that reads from a C string.
*/
* \brief Implements query stream reader that reads from a C string.
*/
-
#include <yaz/cql.h>
struct cql_buf_info {
#include <yaz/cql.h>
struct cql_buf_info {
@@
-20,7
+19,7
@@
struct cql_buf_info {
int off;
};
int off;
};
-int getbuf(void *vp)
+static int getbuf(void *vp)
{
struct cql_buf_info *bi = (struct cql_buf_info *) vp;
if (bi->str[bi->off] == 0)
{
struct cql_buf_info *bi = (struct cql_buf_info *) vp;
if (bi->str[bi->off] == 0)
@@
-28,7
+27,7
@@
int getbuf(void *vp)
return bi->str[bi->off++];
}
return bi->str[bi->off++];
}
-void ungetbuf(int b, void *vp)
+static void ungetbuf(int b, void *vp)
{
struct cql_buf_info *bi = (struct cql_buf_info *) vp;
if (b)
{
struct cql_buf_info *bi = (struct cql_buf_info *) vp;
if (b)