Moved ignore files.
[yaz-moved-to-github.git] / test / tstodr.c
index 1ebacf3..b57c656 100644 (file)
@@ -2,13 +2,12 @@
  * Copyright (C) 1995-2007, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: tstodr.c,v 1.9 2007-01-03 08:42:16 adam Exp $
+ * $Id: tstodr.c,v 1.12 2007-08-13 16:23:30 mike Exp $
  *
  */
 #include <stdlib.h>
 #include <stdio.h>
-#include <yaz/odr.h>
-#include <yaz/oid.h>
+#include <yaz/oid_util.h>
 #include "tstodrcodec.h"
 
 #include <yaz/test.h>
@@ -67,7 +66,7 @@ void tst_MySequence1(ODR encode, ODR decode)
     YAZ_CHECK(t->myoid);
     if (t->myoid)
     {
-        int *myoid = odr_getoidbystr(decode, MYOID);
+        Odr_oid *myoid = odr_getoidbystr(decode, MYOID);
 
         YAZ_CHECK(oid_oidcmp(myoid, t->myoid) == 0);
     }