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
This commit is contained in:
vangyzen 2017-11-13 16:53:36 +00:00
parent bb9ce4f821
commit e89d381ee1

View File

@ -122,8 +122,12 @@ 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
/*