From 17122161a213e0f0d3a859d195e08451d81c4dab Mon Sep 17 00:00:00 2001 From: deraadt Date: Sat, 30 Jan 2021 14:37:01 +0000 Subject: [PATCH] satisfy -fno-common --- sys/arch/macppc/stand/conf.c | 4 ++-- sys/arch/macppc/stand/net.c | 4 ++-- 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 * @@ -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; -- 2.20.1