summaryrefslogtreecommitdiffstats
path: root/array.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2010-02-06 23:22:27 +0000
committerNicholas Marriott <nicm@openbsd.org>2010-02-06 23:22:27 +0000
commit46511805037cf33bd9e2c6286e33417d9fd35d1f (patch)
tree1eeeeb3e2184b8dd28e011c6402532e396493ad7 /array.h
parentbb53c20c1882cbc909d4fe2ae3c6ad665da6abf6 (diff)
Use the array.h code for the causes list.
Diffstat (limited to 'array.h')
-rw-r--r--array.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/array.h b/array.h
index d48dbacb..543c3dfe 100644
--- a/array.h
+++ b/array.h
@@ -19,6 +19,8 @@
#ifndef ARRAY_H
#define ARRAY_H
+#define ARRAY_INITIALIZER { NULL, 0, 0 }
+
#define ARRAY_DECL(n, c) \
struct n { \
c *list; \