summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2009-08-29 22:55:49 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2009-08-29 22:55:49 +0000
commit9a5ca251c408e2a8fe0853bfe41873ed974aa526 (patch)
tree0e74df949ece4ee06a744f669a659f294df0e91b /sys/dev/ic
parent4b0ed60fc9f4e410964e0018602464570f431647 (diff)
Add forward declaration for struct to_softc such that the firmware builder
compiles without warnings again.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/tivar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/tivar.h b/sys/dev/ic/tivar.h
index 492c0a63f23..ffcf523e23d 100644
--- a/sys/dev/ic/tivar.h
+++ b/sys/dev/ic/tivar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tivar.h,v 1.1 2009/08/29 21:12:55 kettenis Exp $ */
+/* $OpenBSD: tivar.h,v 1.2 2009/08/29 22:55:48 kettenis Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
@@ -42,5 +42,7 @@ struct tigon_firmware {
u_char data[1];
};
+struct ti_softc;
+
int ti_attach(struct ti_softc *sc);
int ti_intr(void *);