Make MAC OSX gcc more happy
[yaz-moved-to-github.git] / util / oid.c
index a8c485b..e6236e4 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 1995-2003, Index Data
  * See the file LICENSE for details.
  *
- * $Id: oid.c,v 1.59 2003-01-06 08:20:28 adam Exp $
+ * $Id: oid.c,v 1.61 2003-05-26 13:36:48 adam Exp $
  */
 
 /*
@@ -93,9 +93,10 @@ static oident standard_oids[] =
      "Bib-2"},
     {PROTO_Z3950,   CLASS_ATTSET,  VAL_ZEEREX,       {3,19,-1},
      "ZeeRex"},
-
+#if 0  /* This is the spawn of Satan.  Use Zthes-1 instead */
     {PROTO_Z3950,   CLASS_ATTSET,  VAL_THESAURUS,    {3,1000,81,1,-1},     
      "Thesaurus-attset"},
+#endif /*0*/
     {PROTO_Z3950,   CLASS_ATTSET,  VAL_IDXPATH,      {3,1000,81,2,-1},
      "IDXPATH"},
     {PROTO_Z3950,   CLASS_DIAGSET, VAL_BIB1,         {4,1,-1},
@@ -357,14 +358,14 @@ static int match_prefix(int *look, int *prefix)
     return 0;
 }
 
-void oid_transfer (struct oident *oident)
+void oid_transfer (struct oident *oidentp)
 {
-    while (*oident->oidsuffix >= 0)
+    while (*oidentp->oidsuffix >= 0)
     {
-       oid_addent (oident->oidsuffix, oident->proto,
-                   oident->oclass,
-                   oident->desc, oident->value);
-       oident++;
+       oid_addent (oidentp->oidsuffix, oidentp->proto,
+                   oidentp->oclass,
+                   oidentp->desc, oidentp->value);
+       oidentp++;
     }
 }