projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get rid of size member of Odr_oct
[yaz-moved-to-github.git]
/
include
/
yaz
/
odr.h
diff --git
a/include/yaz/odr.h
b/include/yaz/odr.h
index
20f245b
..
9c7ea51
100644
(file)
--- a/
include/yaz/odr.h
+++ b/
include/yaz/odr.h
@@
-96,11
+96,15
@@
typedef nmem_bool_t Odr_bool;
#define ODR_ENCODE 1
#define ODR_PRINT 2
+#define OCT_SIZE 0
+
typedef struct odr_oct
{
unsigned char *buf;
int len;
+#if OCT_SIZE
int size;
+#endif
} Odr_oct;
typedef void Odr_null;