Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2020 00:24:31 +0000 (UTC)
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r365321 - stable/12/sys/sys
Message-ID:  <202009040024.0840OVZ9030589@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jamie
Date: Fri Sep  4 00:24:31 2020
New Revision: 365321
URL: https://svnweb.freebsd.org/changeset/base/365321

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

Modified:
  stable/12/sys/sys/jail.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/sys/jail.h
==============================================================================
--- stable/12/sys/sys/jail.h	Fri Sep  4 00:22:24 2020	(r365320)
+++ stable/12/sys/sys/jail.h	Fri Sep  4 00:24:31 2020	(r365321)
@@ -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?202009040024.0840OVZ9030589>