Author: vangyzen Date: Mon Nov 13 16:53:36 2017 New Revision: 325764 URL: https://svnweb.freebsd.org/changeset/base/325764
Log: Add __BEGIN_DECLS and __END_DECLS to <sys/umtx.h> This allows C++ programs to call _umtx_op(). MFC after: 3 days Sponsored by: Dell EMC Modified: head/sys/sys/umtx.h Modified: head/sys/sys/umtx.h ============================================================================== --- head/sys/sys/umtx.h Mon Nov 13 12:36:36 2017 (r325763) +++ head/sys/sys/umtx.h Mon Nov 13 16:53:36 2017 (r325764) @@ -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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"