aboutsummaryrefslogtreecommitdiff
path: root/array.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-02-08 18:29:32 +0000
committerTiago Cunha <tcunha@gmx.com>2010-02-08 18:29:32 +0000
commit36a80b2cd639fc82b8fc3d8c3672cc88ae00f1ac (patch)
tree433a4b1783d04085f0859b4fc6d7550ab7dd5913 /array.h
parentc6ba78137977bd7a447fd5f97b205544c2b41505 (diff)
downloadrtmux-36a80b2cd639fc82b8fc3d8c3672cc88ae00f1ac.tar.gz
rtmux-36a80b2cd639fc82b8fc3d8c3672cc88ae00f1ac.tar.bz2
rtmux-36a80b2cd639fc82b8fc3d8c3672cc88ae00f1ac.zip
Sync OpenBSD patchset 640:
Use the array.h code for the causes list.
Diffstat (limited to 'array.h')
-rw-r--r--array.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/array.h b/array.h
index 6507e304..eb829f5f 100644
--- a/array.h
+++ b/array.h
@@ -1,4 +1,4 @@
-/* $Id: array.h,v 1.9 2009-11-02 21:34:32 tcunha Exp $ */
+/* $Id: array.h,v 1.10 2010-02-08 18:29:32 tcunha Exp $ */
/*
* Copyright (c) 2006 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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; \