From: deraadt Date: Sun, 31 Jan 2021 05:14:24 +0000 (+0000) Subject: last pieces of satisfying -fno-common X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=82783e0e8f073e431b8a206b57543fecd1399489;p=openbsd last pieces of satisfying -fno-common --- diff --git a/usr.sbin/ldomctl/config.c b/usr.sbin/ldomctl/config.c index acd8ae6e8b7..048e6e58e72 100644 --- a/usr.sbin/ldomctl/config.c +++ b/usr.sbin/ldomctl/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.41 2020/06/29 18:25:26 kn Exp $ */ +/* $OpenBSD: config.c,v 1.42 2021/01/31 05:14:24 deraadt Exp $ */ /* * Copyright (c) 2012, 2018 Mark Kettenis @@ -80,6 +80,7 @@ struct device **pcie_busses; struct device **network_devices; struct mblock **mblocks; struct ldc_endpoint **ldc_endpoints; +extern struct domain *domain; TAILQ_HEAD(, rootcomplex) rootcomplexes; diff --git a/usr.sbin/ldomctl/mdstore.c b/usr.sbin/ldomctl/mdstore.c index ff6f3c910e5..7271b4289d5 100644 --- a/usr.sbin/ldomctl/mdstore.c +++ b/usr.sbin/ldomctl/mdstore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdstore.c,v 1.12 2019/11/28 18:40:42 kn Exp $ */ +/* $OpenBSD: mdstore.c,v 1.13 2021/01/31 05:14:24 deraadt Exp $ */ /* * Copyright (c) 2012 Mark Kettenis @@ -542,9 +542,9 @@ struct frag { uint64_t base; }; -TAILQ_HEAD(frag_head, frag) free_frags; +extern TAILQ_HEAD(frag_head, frag) free_frags; -uint64_t fragsize; +extern uint64_t fragsize; void frag_init(void)