[libc][NFC][Obvious] Fix few header guards in src/threads.

This commit is contained in:
Siva Chandra Reddy 2020-05-28 14:57:36 -07:00
parent 5f9e0466f2
commit c7614faa05
5 changed files with 15 additions and 15 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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