From c28dc314599caaa43779e52dba135734e2d597ee Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 22 Apr 2024 20:23:36 -0400 Subject: libc: bits: Update lock header guard Signed-off-by: Ian Moffett --- lib/libc/include/bits/_lock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc/include/bits') 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 @@ -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 */ -- cgit v1.2.3