svn commit: r365321 - stable/12/sys/sys

Jamie Gritton jamie at FreeBSD.org
Fri Sep 4 00:24:32 UTC 2020


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 */
 


More information about the svn-src-stable mailing list