Update headers and omit CVS Ids.
[yaz-moved-to-github.git] / test / tstodr.c
index 268224d..99cef61 100644 (file)
@@ -1,14 +1,10 @@
-/*
- * Copyright (C) 1995-2005, Index Data ApS
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
  * See the file LICENSE for details.
- *
- * $Id: tstodr.c,v 1.8 2006-01-29 21:59:13 adam 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 +63,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);
     }