summaryrefslogtreecommitdiff
path: root/sys/lib/libsa
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-05-09 15:30:29 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-05-09 15:30:29 +0000
commitc2face8acc75faebb5691c5356a04dab6acb1df5 (patch)
tree17fb95c4dba926ac449be32f34366549dd7045a5 /sys/lib/libsa
parent053e9e3dfee354b4fc03d6f86d31aed004a0d87e (diff)
shuffle an extern around so gcc4 doesn't whinge about incomplete types
as suggested by miod. ok miod@
Diffstat (limited to 'sys/lib/libsa')
-rw-r--r--sys/lib/libsa/cons.c4
-rw-r--r--sys/lib/libsa/stand.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/lib/libsa/cons.c b/sys/lib/libsa/cons.c
index 92464c10ea9..fab9708a4f7 100644
--- a/sys/lib/libsa/cons.c
+++ b/sys/lib/libsa/cons.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cons.c,v 1.13 2008/01/23 16:37:55 jsing Exp $ */
+/* $OpenBSD: cons.c,v 1.14 2010/05/09 15:30:28 jsg Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -44,6 +44,8 @@
#include "stand.h"
#include <dev/cons.h>
+extern struct consdev constab[];
+
void
cninit(void)
{
diff --git a/sys/lib/libsa/stand.h b/sys/lib/libsa/stand.h
index 29dfbaf0db1..fc4a518c00b 100644
--- a/sys/lib/libsa/stand.h
+++ b/sys/lib/libsa/stand.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: stand.h,v 1.46 2007/05/04 21:44:07 reyk Exp $ */
+/* $OpenBSD: stand.h,v 1.47 2010/05/09 15:30:28 jsg Exp $ */
/* $NetBSD: stand.h,v 1.18 1996/11/30 04:35:51 gwr Exp $ */
/*-
@@ -93,7 +93,6 @@ struct devsw {
extern struct devsw devsw[]; /* device array */
extern int ndevs; /* number of elements in devsw[] */
-extern struct consdev constab[];
extern struct consdev *cn_tab;
struct open_file {