summaryrefslogtreecommitdiff
path: root/sbin/iked
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/iked')
-rw-r--r--sbin/iked/iked.h4
-rw-r--r--sbin/iked/proc.c4
2 files changed, 5 insertions, 3 deletions
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 <tobias.heider@stusta.de>
@@ -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 <reyk@openbsd.org>
@@ -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 *);