(ALLOC_SEQ): undef

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8617 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-07-08 16:12:03 +00:00
parent ff9e42ae48
commit f3dc554555

View File

@@ -95,6 +95,7 @@
#undef ALLOC
#define ALLOC(X) ((X) = malloc(sizeof(*(X))))
#undef ALLOC_SEQ
#define ALLOC_SEQ(X, N) do { (X)->len = (N); \
(X)->val = calloc((X)->len, sizeof(*(X)->val)); } while(0)