X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fcqlstring.c;h=40824c5787728f0e9d344ca80e995a4a39d63c9c;hp=94ea25e0df7681a4091abff840479559912a5977;hb=05c274ef315384faafcc5900c17468f0ea2474e6;hpb=0420d74c15267c4cb7903503b51937f836096b7a diff --git a/src/cqlstring.c b/src/cqlstring.c index 94ea25e..40824c5 100644 --- a/src/cqlstring.c +++ b/src/cqlstring.c @@ -1,4 +1,4 @@ -/* $Id: cqlstring.c,v 1.2 2004-10-03 22:34:07 adam Exp $ +/* $Id: cqlstring.c,v 1.3 2004-10-15 00:19:00 adam Exp $ Copyright (C) 2002-2004 Index Data Aps @@ -12,7 +12,6 @@ See the file LICENSE for details. * \brief Implements query stream reader that reads from a C string. */ - #include struct cql_buf_info { @@ -20,7 +19,7 @@ struct cql_buf_info { 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) @@ -28,7 +27,7 @@ int getbuf(void *vp) 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)