summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchd/switchd.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2021-01-27 07:21:52 +0000
committerderaadt <deraadt@openbsd.org>2021-01-27 07:21:52 +0000
commit488a4384c64f98f9f25f7a50cc4a83258d14d1cc (patch)
tree65392d0ea4600220ea92422fea4f15faf453cecd /usr.sbin/switchd/switchd.c
parentsplit out extern and decl for -fno-common (diff)
downloadwireguard-openbsd-488a4384c64f98f9f25f7a50cc4a83258d14d1cc.tar.xz
wireguard-openbsd-488a4384c64f98f9f25f7a50cc4a83258d14d1cc.zip
these programs (with common ancestry) had a -fno-common problem related
to privsep_procid. ok mortimer
Diffstat (limited to 'usr.sbin/switchd/switchd.c')
-rw-r--r--usr.sbin/switchd/switchd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/switchd/switchd.c b/usr.sbin/switchd/switchd.c
index 8877dcafe30..99085578716 100644
--- a/usr.sbin/switchd/switchd.c
+++ b/usr.sbin/switchd/switchd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: switchd.c,v 1.18 2019/07/23 00:31:31 schwarze Exp $ */
+/* $OpenBSD: switchd.c,v 1.19 2021/01/27 07:21:54 deraadt Exp $ */
/*
* Copyright (c) 2013-2016 Reyk Floeter <reyk@openbsd.org>
@@ -58,6 +58,8 @@ static struct privsep_proc procs[] = {
{ "ofcconn", PROC_OFCCONN, NULL, ofcconn }
};
+enum privsep_procid privsep_process;
+
__dead void
usage(void)
{