Rename yaz_use_attribute_create to zget_AttributeList_use_string
[yaz-moved-to-github.git] / src / initopt.c
index d3228b2..01fbd57 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2008 Index Data
+ * Copyright (C) Index Data
  * See the file LICENSE for details.
  */
 
@@ -45,12 +45,12 @@ static struct {
 int yaz_init_opt_encode(Z_Options *opt, const char *opt_str, int *error_pos)
 {
     const char *cp = opt_str;
-    
+
     ODR_MASK_ZERO(opt);
     while (*cp)
     {
         char this_opt[42];
-        int i, j;
+        size_t i, j;
         if (*cp == ' ' || *cp == ',')
         {
             cp++;
@@ -93,6 +93,7 @@ void yaz_init_opt_decode(Z_Options *opt, void (*pr)(const char *name,
 /*
  * Local variables:
  * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
  * indent-tabs-mode: nil
  * End:
  * vim: shiftwidth=4 tabstop=8 expandtab