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
Added include stdlib.h
[yaz-moved-to-github.git]
/
util
/
cql2pqf.c
diff --git
a/util/cql2pqf.c
b/util/cql2pqf.c
index
9a11bbc
..
086d4bf
100644
(file)
--- a/
util/cql2pqf.c
+++ b/
util/cql2pqf.c
@@
-1,5
+1,5
@@
-/* $Id: cql2pqf.c,v 1.3 2004-03-11 09:34:42 adam Exp $
- Copyright (C) 2002-2004
+/* $Id: cql2pqf.c,v 1.6 2005-01-15 19:47:15 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.
@@
-11,6
+11,7
@@
See the file LICENSE.
#include <stdio.h>
#include <yaz/cql.h>
#include <stdio.h>
#include <yaz/cql.h>
+#include <yaz/options.h>
static void usage()
{
static void usage()
{
@@
-21,7
+22,7
@@
static void usage()
int main(int argc, char **argv)
{
cql_transform_t ct;
int main(int argc, char **argv)
{
cql_transform_t ct;
- int r;
+ int r = 0;
int i, iterations = 1;
CQL_parser cp = cql_parser_create();
char *query = 0;
int i, iterations = 1;
CQL_parser cp = cql_parser_create();
char *query = 0;