in clock_getres, check for null pointer before storing result
[musl.git] / src / internal / lock.h
blobc77db6f7be813f94acfa1695b7882fa4b9e1dd78
1 #ifndef LOCK_H
2 #define LOCK_H
4 hidden void __lock(volatile int *);
5 hidden void __unlock(volatile int *);
6 #define LOCK(x) __lock(x)
7 #define UNLOCK(x) __unlock(x)
9 #endif