Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2020 22:24:41 +0000 (UTC)
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r364970 - head/sys/sys
Message-ID:  <202008292224.07TMOfs2077956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jamie
Date: Sat Aug 29 22:24:41 2020
New Revision: 364970
URL: https://svnweb.freebsd.org/changeset/base/364970

Log:
  Add __BEGIN_DECLS to jail.h to keep C++ happy.
  
  PR:		238928
  Reported by:	yuri@

Modified:
  head/sys/sys/jail.h

Modified: head/sys/sys/jail.h
==============================================================================
--- head/sys/sys/jail.h	Sat Aug 29 22:09:36 2020	(r364969)
+++ head/sys/sys/jail.h	Sat Aug 29 22:24:41 2020	(r364970)
@@ -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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008292224.07TMOfs2077956>