summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-01-30 14:37:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-01-30 14:37:02 +0000
commit7e6e46b2f2008ee557f079e1c7dd1e80448b31e5 (patch)
tree9535b1e688fa602bfc093f6b8572ac41b44e44f3 /sys/arch
parentbc27f46698cf9c2b81ae51b3ec368f787c225732 (diff)
satisfy -fno-common
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/stand/conf.c4
-rw-r--r--sys/arch/macppc/stand/net.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/macppc/stand/conf.c b/sys/arch/macppc/stand/conf.c
index c08f694a081..e3e2d6e5c0d 100644
--- a/sys/arch/macppc/stand/conf.c
+++ b/sys/arch/macppc/stand/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.13 2020/12/09 18:10:19 krw Exp $ */
+/* $OpenBSD: conf.c,v 1.14 2021/01/30 14:37:01 deraadt Exp $ */
/*
* Copyright (c) 2007 Dale Rahn <drahn@openbsd.org>
*
@@ -22,7 +22,7 @@
const char version[] = "1.11";
-int debug = 0;
+extern int debug;
void ofc_probe(struct consdev *);
void ofc_init(struct consdev *);
diff --git a/sys/arch/macppc/stand/net.c b/sys/arch/macppc/stand/net.c
index 5222698595e..dc3fa9fb4d9 100644
--- a/sys/arch/macppc/stand/net.c
+++ b/sys/arch/macppc/stand/net.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: net.c,v 1.6 2019/09/02 23:40:29 kettenis Exp $ */
+/* $OpenBSD: net.c,v 1.7 2021/01/30 14:37:01 deraadt Exp $ */
/* $NetBSD: net.c,v 1.1 1997/04/16 20:29:18 thorpej Exp $ */
/*
@@ -67,7 +67,7 @@
int net_mountroot(void);
-char rootpath[FNAME_SIZE];
+extern char rootpath[FNAME_SIZE];
static int netdev_sock = -1;
static int open_count;