mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
f4dd123e15
commit
d63f2964ce
1 changed files with 4 additions and 0 deletions
|
|
@ -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 a new issue