summaryrefslogtreecommitdiff
path: root/sys/dev/ic/silivar.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/silivar.h')
-rw-r--r--sys/dev/ic/silivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/silivar.h b/sys/dev/ic/silivar.h
index fb34621683e..e1a1e3a0498 100644
--- a/sys/dev/ic/silivar.h
+++ b/sys/dev/ic/silivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: silivar.h,v 1.4 2007/03/31 03:59:53 dlg Exp $ */
+/* $OpenBSD: silivar.h,v 1.5 2007/04/07 05:59:49 dlg Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -16,6 +16,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define sizeofa(_a) (sizeof(_a) / sizeof((_a)[0]))
+
struct sili_port;
struct sili_softc {