From: mortimer Date: Thu, 28 Jan 2021 01:20:37 +0000 (+0000) Subject: Extern privsep_process. Fixes compilation with -fno-common. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f4602b7c22c100780fe76a757ff4b35188fb45ed;p=openbsd Extern privsep_process. Fixes compilation with -fno-common. ok deraadt@ --- diff --git a/sbin/iked/iked.h b/sbin/iked/iked.h index e765da92b62..4945fdcd70d 100644 --- a/sbin/iked/iked.h +++ b/sbin/iked/iked.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.h,v 1.181 2021/01/26 23:06:23 tobhe Exp $ */ +/* $OpenBSD: iked.h,v 1.182 2021/01/28 01:20:37 mortimer Exp $ */ /* * Copyright (c) 2019 Tobias Heider @@ -99,7 +99,7 @@ struct ctl_conn { TAILQ_HEAD(ctl_connlist, ctl_conn); extern struct ctl_connlist ctl_conns; -enum privsep_procid privsep_process; +extern enum privsep_procid privsep_process; /* * Runtime structures diff --git a/sbin/iked/proc.c b/sbin/iked/proc.c index 68a36522776..ad89aa82e13 100644 --- a/sbin/iked/proc.c +++ b/sbin/iked/proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.c,v 1.33 2020/11/11 18:24:55 tobhe Exp $ */ +/* $OpenBSD: proc.c,v 1.34 2021/01/28 01:20:37 mortimer Exp $ */ /* * Copyright (c) 2010 - 2014 Reyk Floeter @@ -34,6 +34,8 @@ #include "iked.h" +enum privsep_procid privsep_process; + void proc_open(struct privsep *, struct privsep_proc *, struct privsep_proc *, size_t); void proc_close(struct privsep *);