Support XInclude for XML config
[yaz-moved-to-github.git] / test / tstodr.c
index 9561e11..a0180a6 100644 (file)
@@ -1,10 +1,11 @@
 /*
- * Copyright (c) 1995-2003, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: tstodr.c,v 1.1 2003-10-27 12:21:38 adam Exp $
+ * $Id: tstodr.c,v 1.4 2005-02-01 17:23:36 adam Exp $
  *
  */
+#include <stdlib.h>
 #include <stdio.h>
 #include <yaz/odr.h>
 #include "tstodrcodec.h"
@@ -50,10 +51,7 @@ void tst_MySequence1(ODR encode, ODR decode)
 
 void tst_MySequence2(ODR encode, ODR decode)
 {
-    char *ber_buf;
-    int ber_len;
     Yc_MySequence *s = odr_malloc(encode, sizeof(*s));
-    Yc_MySequence *t;
 
     s->first = 0;  /* deliberately miss this .. */
     s->second = odr_malloc(encode, sizeof(*s->second));