1 #ifndef LOCK_H 2 #define LOCK_H 3 4 hidden void __lock(volatile int *); 5 hidden void __unlock(volatile int *); 6 #define LOCK(x) __lock(x) 7 #define UNLOCK(x) __unlock(x) 8 9 #endif 10