Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2017 21:45:10 +0000 (UTC)
From:      Eric van Gyzen <vangyzen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r325904 - stable/11/sys/sys
Message-ID:  <201711162145.vAGLjAiG028181@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vangyzen
Date: Thu Nov 16 21:45:10 2017
New Revision: 325904
URL: https://svnweb.freebsd.org/changeset/base/325904

Log:
  MFC r325764
  
  Add __BEGIN_DECLS and __END_DECLS to <sys/umtx.h>
  
  This allows C++ programs to call _umtx_op().
  
  Sponsored by:	Dell EMC

Modified:
  stable/11/sys/sys/umtx.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/sys/umtx.h
==============================================================================
--- stable/11/sys/sys/umtx.h	Thu Nov 16 21:28:14 2017	(r325903)
+++ stable/11/sys/sys/umtx.h	Thu Nov 16 21:45:10 2017	(r325904)
@@ -122,7 +122,11 @@ struct umtx_robust_lists_params {
 
 #ifndef _KERNEL
 
+__BEGIN_DECLS
+
 int _umtx_op(void *obj, int op, u_long val, void *uaddr, void *uaddr2);
+
+__END_DECLS
 
 #else
 



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