Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / data1 / d1_tagset.c
index 4ecb002..9c8860c 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 1994-2010 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 <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -62,7 +65,7 @@ data1_tag *data1_gettagbynum (data1_handle dh, data1_tagset *s,
                              int type, int value)
 {
     data1_tag *r;
-    
+
     for (; s; s = s->next)
     {
        /* scan local set */
@@ -170,7 +173,7 @@ data1_tagset *data1_read_tagset (data1_handle dh, const char *file, int type)
                fclose(f);
                return 0;
            }
-           
+
            /* read namelist */
            nm = names;
            npp = &rr->names;
@@ -201,7 +204,7 @@ data1_tagset *data1_read_tagset (data1_handle dh, const char *file, int type)
        else if (!strcmp(cmd, "reference"))
        {
            char *name;
-           
+
            if (argc != 2)
            {
                yaz_log(YLOG_WARN, "%s:%d: Bad # args to reference",