summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2010-05-14 19:32:39 +0000
committerdrahn <drahn@openbsd.org>2010-05-14 19:32:39 +0000
commitf48c797b71bc21da4d74a399a9ffef7a0cefce5c (patch)
treefb30dfc0d1db1a391914af7283c3fb53624ed789
parentColour+attribute options for status line alerts, from Alex Alexander. (diff)
downloadwireguard-openbsd-f48c797b71bc21da4d74a399a9ffef7a0cefce5c.tar.xz
wireguard-openbsd-f48c797b71bc21da4d74a399a9ffef7a0cefce5c.zip
Be friendly with gcc4.
-rw-r--r--sys/arch/macppc/stand/ofdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/stand/ofdev.c b/sys/arch/macppc/stand/ofdev.c
index 1169aacc9f9..fe2e0a2f85b 100644
--- a/sys/arch/macppc/stand/ofdev.c
+++ b/sys/arch/macppc/stand/ofdev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofdev.c,v 1.15 2008/05/25 16:55:31 miod Exp $ */
+/* $OpenBSD: ofdev.c,v 1.16 2010/05/14 19:32:39 drahn Exp $ */
/* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */
/*
@@ -113,7 +113,7 @@ devclose(struct open_file *of)
op->handle = -1;
}
-static struct devsw devsw[1] = {
+struct devsw devsw[1] = {
"OpenFirmware",
strategy,
(int (*)(struct open_file *, ...))nodev,