mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
[libc][NFC][Obvious] Fix few header guards in src/threads.
This commit is contained in:
parent
5f9e0466f2
commit
c7614faa05
@ -6,8 +6,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_LINUX_MTX_INIT_H
|
||||
#define LLVM_LIBC_SRC_THREADS_LINUX_MTX_INIT_H
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_MTX_INIT_H
|
||||
#define LLVM_LIBC_SRC_THREADS_MTX_INIT_H
|
||||
|
||||
#include "include/threads.h"
|
||||
|
||||
@ -17,4 +17,4 @@ int mtx_init(mtx_t *mutex, int type);
|
||||
|
||||
} // namespace __llvm_libc
|
||||
|
||||
#endif // LLVM_LIBC_SRC_THREADS_LINUX_MTX_INIT_H
|
||||
#endif // LLVM_LIBC_SRC_THREADS_MTX_INIT_H
|
||||
|
@ -6,8 +6,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_LINUX_MTX_LOCK_H
|
||||
#define LLVM_LIBC_SRC_THREADS_LINUX_MTX_LOCK_H
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_MTX_LOCK_H
|
||||
#define LLVM_LIBC_SRC_THREADS_MTX_LOCK_H
|
||||
|
||||
#include "include/threads.h"
|
||||
|
||||
@ -17,4 +17,4 @@ int mtx_lock(mtx_t *mutex);
|
||||
|
||||
} // namespace __llvm_libc
|
||||
|
||||
#endif // LLVM_LIBC_SRC_THREADS_LINUX_MTX_LOCK_H
|
||||
#endif // LLVM_LIBC_SRC_THREADS_MTX_LOCK_H
|
||||
|
@ -6,8 +6,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_LINUX_MTX_UNLOCK_H
|
||||
#define LLVM_LIBC_SRC_THREADS_LINUX_MTX_UNLOCK_H
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_MTX_UNLOCK_H
|
||||
#define LLVM_LIBC_SRC_THREADS_MTX_UNLOCK_H
|
||||
|
||||
#include "include/threads.h"
|
||||
|
||||
@ -17,4 +17,4 @@ int mtx_unlock(mtx_t *mutex);
|
||||
|
||||
} // namespace __llvm_libc
|
||||
|
||||
#endif // LLVM_LIBC_SRC_THREADS_LINUX_MTX_UNLOCK_H
|
||||
#endif // LLVM_LIBC_SRC_THREADS_MTX_UNLOCK_H
|
||||
|
@ -6,8 +6,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_LINUX_THRD_CREATE_H
|
||||
#define LLVM_LIBC_SRC_THREADS_LINUX_THRD_CREATE_H
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_THRD_CREATE_H
|
||||
#define LLVM_LIBC_SRC_THREADS_THRD_CREATE_H
|
||||
|
||||
#include "include/threads.h"
|
||||
|
||||
@ -17,4 +17,4 @@ int thrd_create(thrd_t *thread, thrd_start_t func, void *arg);
|
||||
|
||||
} // namespace __llvm_libc
|
||||
|
||||
#endif // LLVM_LIBC_SRC_THREADS_LINUX_THRD_CREATE_H
|
||||
#endif // LLVM_LIBC_SRC_THREADS_THRD_CREATE_H
|
||||
|
@ -6,8 +6,8 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_LINUX_THRD_JOIN_H
|
||||
#define LLVM_LIBC_SRC_THREADS_LINUX_THRD_JOIN_H
|
||||
#ifndef LLVM_LIBC_SRC_THREADS_THRD_JOIN_H
|
||||
#define LLVM_LIBC_SRC_THREADS_THRD_JOIN_H
|
||||
|
||||
#include "include/threads.h"
|
||||
|
||||
@ -17,4 +17,4 @@ int thrd_join(thrd_t *thread, int *retval);
|
||||
|
||||
} // namespace __llvm_libc
|
||||
|
||||
#endif // LLVM_LIBC_SRC_THREADS_LINUX_THRD_JOIN_H
|
||||
#endif // LLVM_LIBC_SRC_THREADS_THRD_JOIN_H
|
||||
|
Loading…
Reference in New Issue
Block a user