summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-04-22 20:23:36 -0400
committerIan Moffett <ian@osmora.org>2024-04-22 20:23:36 -0400
commitc28dc314599caaa43779e52dba135734e2d597ee (patch)
tree8ac9ba8adc2bcd9ae1bd0a6a80a1b7f485ea2915 /lib/libc
parentfa43d614083010efa9a2f50984fa68b352026fd8 (diff)
libc: bits: Update lock header guard
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/include/bits/_lock.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/include/bits/_lock.h b/lib/libc/include/bits/_lock.h
index c6fdcbc..4cfec0b 100644
--- a/lib/libc/include/bits/_lock.h
+++ b/lib/libc/include/bits/_lock.h
@@ -27,8 +27,8 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef _LIBC_LOCK_H
-#define _LIBC_LOCK_H
+#ifndef _BITS__LOCK_H
+#define _BITS__LOCK_H
#include <bits/_types.h>
@@ -59,4 +59,4 @@ __test_and_set(__libc_spinlock_t *lock)
#define __spinlock_acquire(LOCKPTR) while (__test_and_set(LOCKPTR))
#define __spinlock_release(LOCKPTR) ((LOCKPTR)->lock = 0)
-#endif /* _LIBC_LOCK_H */
+#endif /* _BITS__LOCK_H */