Fix compilation on windows for new backtrace stuff
[yaz-moved-to-github.git] / src / cqlstring.c
index 6e83a0a..5d66b45 100644 (file)
@@ -1,16 +1,14 @@
-/* $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.
-
-See the file LICENSE for details.
-*/
-
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) Index Data
+ * See the file LICENSE for details.
+ */
 /**
  * \file cqlstring.c
  * \brief Implements query stream reader that reads from a C string.
  */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 
 #include <yaz/cql.h>
 
@@ -40,7 +38,16 @@ int cql_parser_string(CQL_parser cp, const char *str)
 
     b.str = str;
     b.off = 0;
-    
+
     return cql_parser_stream(cp, getbuf, ungetbuf, &b);
 }
 
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+