diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-09 19:45:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-09 19:45:52 +0000 |
commit | 2da43c9c9021477b2c3852460f26ea8ba0bbb4cb (patch) | |
tree | 3af6a1ac690a52f7b6632cc5766e53d8fe3103f3 | |
parent | 8e22e5f22be085e6eb7fd07605f4e5f3cac8ff8c (diff) |
Since libsa/stand.h provides an extern declaration of devsw[], we should make
it static here. Makes gcc4 happier.
-rw-r--r-- | sys/arch/sparc64/stand/ofwboot/ofdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/stand/ofwboot/ofdev.c b/sys/arch/sparc64/stand/ofwboot/ofdev.c index 745264bebbf..d4f4a19e679 100644 --- a/sys/arch/sparc64/stand/ofwboot/ofdev.c +++ b/sys/arch/sparc64/stand/ofwboot/ofdev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofdev.c,v 1.13 2010/04/23 15:25:21 jsing Exp $ */ +/* $OpenBSD: ofdev.c,v 1.14 2010/05/09 19:45:51 kettenis Exp $ */ /* $NetBSD: ofdev.c,v 1.1 2000/08/20 14:58:41 mrg Exp $ */ /* @@ -155,7 +155,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, |