33#if !defined(_RETARGETABLE_LOCKING)
35typedef void * _lock_t;
37#define _LOCK_T _lock_t
38#define _LOCK_RECURSIVE_T _lock_t
40void _lock_init(_lock_t *lock);
41void _lock_init_recursive(_lock_t *lock);
42void _lock_close(_lock_t *lock);
43void _lock_close_recursive(_lock_t *lock);
44void _lock_acquire(_lock_t *lock);
45void _lock_acquire_recursive(_lock_t *lock);
46int _lock_try_acquire(_lock_t *lock);
47int _lock_try_acquire_recursive(_lock_t *lock);
48void _lock_release(_lock_t *lock);
49void _lock_release_recursive(_lock_t *lock);
53#include_next <sys/lock.h>