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:
parent
bb9ce4f821
commit
e89d381ee1
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user