From 0820428967bca4dce5283ad65a42fccf3bae9529 Mon Sep 17 00:00:00 2001 From: Jamie Gritton Date: Sat, 29 Aug 2020 22:24:41 +0000 Subject: [PATCH] Add __BEGIN_DECLS to jail.h to keep C++ happy. PR: 238928 Reported by: yuri@ --- sys/sys/jail.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/sys/jail.h b/sys/sys/jail.h index 612744ca9d7..52051386bde 100644 --- a/sys/sys/jail.h +++ b/sys/sys/jail.h @@ -110,11 +110,13 @@ struct xprison { struct iovec; +__BEGIN_DECLS int jail(struct jail *); int jail_set(struct iovec *, unsigned int, int); int jail_get(struct iovec *, unsigned int, int); int jail_attach(int); int jail_remove(int); +__END_DECLS #else /* _KERNEL */