Examples using Bib-1 use attributes
[idzebra-moved-to-github.git] / data1 / d1_varset.c
index 0f56cf8..bb874e8 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1994-2009 Index Data
+   Copyright (C) Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
 */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <string.h>
 #include <stdlib.h>
 
@@ -74,7 +77,7 @@ data1_varset *data1_read_varset (data1_handle dh, const char *file)
        if (!strcmp(argv[0], "class"))
        {
            data1_varclass *r;
-           
+
            if (argc != 3)
            {
                yaz_log(YLOG_WARN, "%s:%d: Bad # or args to class",
@@ -148,10 +151,10 @@ data1_varset *data1_read_varset (data1_handle dh, const char *file)
                continue;
            }
        }
-       else 
+       else
            yaz_log(YLOG_WARN, "%s:%d: Unknown directive '%s'",
                    file, lineno, argv[0]);
-    
+
     fclose(f);
     return res;
 }