diff options
Diffstat (limited to 'libc/include/llvm-libc-types')
94 files changed, 282 insertions, 282 deletions
diff --git a/libc/include/llvm-libc-types/ACTION.h b/libc/include/llvm-libc-types/ACTION.h index 7181a59..1ddce20 100644 --- a/libc/include/llvm-libc-types/ACTION.h +++ b/libc/include/llvm-libc-types/ACTION.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_ACTION_H__ -#define __LLVM_LIBC_TYPES_ACTION_H__ +#ifndef LLVM_LIBC_TYPES_ACTION_H +#define LLVM_LIBC_TYPES_ACTION_H typedef enum { FIND, ENTER } ACTION; -#endif // __LLVM_LIBC_TYPES_ACTION_H__ +#endif // LLVM_LIBC_TYPES_ACTION_H diff --git a/libc/include/llvm-libc-types/DIR.h b/libc/include/llvm-libc-types/DIR.h index 0a2cf27..855446d 100644 --- a/libc/include/llvm-libc-types/DIR.h +++ b/libc/include/llvm-libc-types/DIR.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_DIR_H__ -#define __LLVM_LIBC_TYPES_DIR_H__ +#ifndef LLVM_LIBC_TYPES_DIR_H +#define LLVM_LIBC_TYPES_DIR_H typedef struct DIR DIR; -#endif // __LLVM_LIBC_TYPES_DIR_H__ +#endif // LLVM_LIBC_TYPES_DIR_H diff --git a/libc/include/llvm-libc-types/ENTRY.h b/libc/include/llvm-libc-types/ENTRY.h index 0ccb593..ccbd777 100644 --- a/libc/include/llvm-libc-types/ENTRY.h +++ b/libc/include/llvm-libc-types/ENTRY.h @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_ENTRY_H__ -#define __LLVM_LIBC_TYPES_ENTRY_H__ +#ifndef LLVM_LIBC_TYPES_ENTRY_H +#define LLVM_LIBC_TYPES_ENTRY_H typedef struct { char *key; void *data; } ENTRY; -#endif // __LLVM_LIBC_TYPES_ENTRY_H__ +#endif // LLVM_LIBC_TYPES_ENTRY_H diff --git a/libc/include/llvm-libc-types/FILE.h b/libc/include/llvm-libc-types/FILE.h index 1c1ff97..f1d2e4f 100644 --- a/libc/include/llvm-libc-types/FILE.h +++ b/libc/include/llvm-libc-types/FILE.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_FILE_H__ -#define __LLVM_LIBC_TYPES_FILE_H__ +#ifndef LLVM_LIBC_TYPES_FILE_H +#define LLVM_LIBC_TYPES_FILE_H typedef struct FILE FILE; -#endif // __LLVM_LIBC_TYPES_FILE_H__ +#endif // LLVM_LIBC_TYPES_FILE_H diff --git a/libc/include/llvm-libc-types/__atexithandler_t.h b/libc/include/llvm-libc-types/__atexithandler_t.h index a9887b6..01aed67 100644 --- a/libc/include/llvm-libc-types/__atexithandler_t.h +++ b/libc/include/llvm-libc-types/__atexithandler_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_ATEXITHANDLER_T_H__ -#define __LLVM_LIBC_TYPES_ATEXITHANDLER_T_H__ +#ifndef LLVM_LIBC_TYPES___ATEXITHANDLER_T_H +#define LLVM_LIBC_TYPES___ATEXITHANDLER_T_H typedef void (*__atexithandler_t)(void); -#endif // __LLVM_LIBC_TYPES_ATEXITHANDLER_T_H__ +#endif // LLVM_LIBC_TYPES___ATEXITHANDLER_T_H diff --git a/libc/include/llvm-libc-types/__atfork_callback_t.h b/libc/include/llvm-libc-types/__atfork_callback_t.h index 3da66c2..ae2d0ca 100644 --- a/libc/include/llvm-libc-types/__atfork_callback_t.h +++ b/libc/include/llvm-libc-types/__atfork_callback_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_ATFORK_CALLBACK_T_H__ -#define __LLVM_LIBC_TYPES_ATFORK_CALLBACK_T_H__ +#ifndef LLVM_LIBC_TYPES___ATFORK_CALLBACK_T_H +#define LLVM_LIBC_TYPES___ATFORK_CALLBACK_T_H typedef void (*__atfork_callback_t)(void); -#endif // __LLVM_LIBC_TYPES_ATFORK_CALLBACK_T_H__ +#endif // LLVM_LIBC_TYPES___ATFORK_CALLBACK_T_H diff --git a/libc/include/llvm-libc-types/__bsearchcompare_t.h b/libc/include/llvm-libc-types/__bsearchcompare_t.h index 40ebc7f..0b1987be 100644 --- a/libc/include/llvm-libc-types/__bsearchcompare_t.h +++ b/libc/include/llvm-libc-types/__bsearchcompare_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_BSEARCHCOMPARE_T_H__ -#define __LLVM_LIBC_TYPES_BSEARCHCOMPARE_T_H__ +#ifndef LLVM_LIBC_TYPES___BSEARCHCOMPARE_T_H +#define LLVM_LIBC_TYPES___BSEARCHCOMPARE_T_H typedef int (*__bsearchcompare_t)(const void *, const void *); -#endif // __LLVM_LIBC_TYPES_BSEARCHCOMPARE_T_H__ +#endif // LLVM_LIBC_TYPES___BSEARCHCOMPARE_T_H diff --git a/libc/include/llvm-libc-types/__call_once_func_t.h b/libc/include/llvm-libc-types/__call_once_func_t.h index bc8ed83..6d278da 100644 --- a/libc/include/llvm-libc-types/__call_once_func_t.h +++ b/libc/include/llvm-libc-types/__call_once_func_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_CALL_ONCE_FUNC_T_H__ -#define __LLVM_LIBC_TYPES_CALL_ONCE_FUNC_T_H__ +#ifndef LLVM_LIBC_TYPES___CALL_ONCE_FUNC_T_H +#define LLVM_LIBC_TYPES___CALL_ONCE_FUNC_T_H typedef void (*__call_once_func_t)(void); -#endif // __LLVM_LIBC_TYPES_CALL_ONCE_FUNC_T_H__ +#endif // LLVM_LIBC_TYPES___CALL_ONCE_FUNC_T_H diff --git a/libc/include/llvm-libc-types/__exec_argv_t.h b/libc/include/llvm-libc-types/__exec_argv_t.h index 35b687d9..4eff583 100644 --- a/libc/include/llvm-libc-types/__exec_argv_t.h +++ b/libc/include/llvm-libc-types/__exec_argv_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_EXEC_ARGV_T_H__ -#define __LLVM_LIBC_TYPES_EXEC_ARGV_T_H__ +#ifndef LLVM_LIBC_TYPES___EXEC_ARGV_T_H +#define LLVM_LIBC_TYPES___EXEC_ARGV_T_H typedef char *const __exec_argv_t[]; -#endif // __LLVM_LIBC_TYPES_EXEC_ARGV_T_H__ +#endif // LLVM_LIBC_TYPES___EXEC_ARGV_T_H diff --git a/libc/include/llvm-libc-types/__exec_envp_t.h b/libc/include/llvm-libc-types/__exec_envp_t.h index 06eb2dd..89e0275 100644 --- a/libc/include/llvm-libc-types/__exec_envp_t.h +++ b/libc/include/llvm-libc-types/__exec_envp_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_EXEC_ENVP_T_H__ -#define __LLVM_LIBC_TYPES_EXEC_ENVP_T_H__ +#ifndef LLVM_LIBC_TYPES___EXEC_ENVP_T_H +#define LLVM_LIBC_TYPES___EXEC_ENVP_T_H typedef char *const __exec_envp_t[]; -#endif // __LLVM_LIBC_TYPES_EXEC_ENVP_T_H__ +#endif // LLVM_LIBC_TYPES___EXEC_ENVP_T_H diff --git a/libc/include/llvm-libc-types/__futex_word.h b/libc/include/llvm-libc-types/__futex_word.h index 85130ab..04023c7 100644 --- a/libc/include/llvm-libc-types/__futex_word.h +++ b/libc/include/llvm-libc-types/__futex_word.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_FUTEX_WORD_H__ -#define __LLVM_LIBC_TYPES_FUTEX_WORD_H__ +#ifndef LLVM_LIBC_TYPES___FUTEX_WORD_H +#define LLVM_LIBC_TYPES___FUTEX_WORD_H typedef struct { // Futex word should be aligned appropriately to allow target atomic @@ -17,4 +17,4 @@ typedef struct { : _Alignof(__UINT32_TYPE__)) __UINT32_TYPE__ __word; } __futex_word; -#endif // __LLVM_LIBC_TYPES_FUTEX_WORD_H__ +#endif // LLVM_LIBC_TYPES___FUTEX_WORD_H diff --git a/libc/include/llvm-libc-types/__getoptargv_t.h b/libc/include/llvm-libc-types/__getoptargv_t.h index 81c6728..c26b9e9 100644 --- a/libc/include/llvm-libc-types/__getoptargv_t.h +++ b/libc/include/llvm-libc-types/__getoptargv_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_GETOPTARGV_T_H__ -#define __LLVM_LIBC_TYPES_GETOPTARGV_T_H__ +#ifndef LLVM_LIBC_TYPES___GETOPTARGV_T_H +#define LLVM_LIBC_TYPES___GETOPTARGV_T_H typedef char *const __getoptargv_t[]; -#endif // __LLVM_LIBC_TYPES_GETOPTARGV_T_H__ +#endif // LLVM_LIBC_TYPES___GETOPTARGV_T_H diff --git a/libc/include/llvm-libc-types/__mutex_type.h b/libc/include/llvm-libc-types/__mutex_type.h index a7ed8f8..d27bf5d 100644 --- a/libc/include/llvm-libc-types/__mutex_type.h +++ b/libc/include/llvm-libc-types/__mutex_type.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES___MUTEX_T_H -#define __LLVM_LIBC_TYPES___MUTEX_T_H +#ifndef LLVM_LIBC_TYPES___MUTEX_TYPE_H +#define LLVM_LIBC_TYPES___MUTEX_TYPE_H #include <llvm-libc-types/__futex_word.h> @@ -26,4 +26,4 @@ typedef struct { #endif } __mutex_type; -#endif // __LLVM_LIBC_TYPES___MUTEX_T_H +#endif // LLVM_LIBC_TYPES___MUTEX_TYPE_H diff --git a/libc/include/llvm-libc-types/__pthread_once_func_t.h b/libc/include/llvm-libc-types/__pthread_once_func_t.h index 5ace5cb..7575029 100644 --- a/libc/include/llvm-libc-types/__pthread_once_func_t.h +++ b/libc/include/llvm-libc-types/__pthread_once_func_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_ONCE_FUNC_T_H__ -#define __LLVM_LIBC_TYPES_PTHREAD_ONCE_FUNC_T_H__ +#ifndef LLVM_LIBC_TYPES___PTHREAD_ONCE_FUNC_T_H +#define LLVM_LIBC_TYPES___PTHREAD_ONCE_FUNC_T_H typedef void (*__pthread_once_func_t)(void); -#endif // __LLVM_LIBC_TYPES_PTHREAD_ONCE_FUNC_T_H__ +#endif // LLVM_LIBC_TYPES___PTHREAD_ONCE_FUNC_T_H diff --git a/libc/include/llvm-libc-types/__pthread_start_t.h b/libc/include/llvm-libc-types/__pthread_start_t.h index 1e05f9b4..6b7ae40 100644 --- a/libc/include/llvm-libc-types/__pthread_start_t.h +++ b/libc/include/llvm-libc-types/__pthread_start_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_START_T_H__ -#define __LLVM_LIBC_TYPES_PTHREAD_START_T_H__ +#ifndef LLVM_LIBC_TYPES___PTHREAD_START_T_H +#define LLVM_LIBC_TYPES___PTHREAD_START_T_H typedef void *(*__pthread_start_t)(void *); -#endif // __LLVM_LIBC_TYPES_PTHREAD_START_T_H__ +#endif // LLVM_LIBC_TYPES___PTHREAD_START_T_H diff --git a/libc/include/llvm-libc-types/__pthread_tss_dtor_t.h b/libc/include/llvm-libc-types/__pthread_tss_dtor_t.h index 1b54d31..c67b604 100644 --- a/libc/include/llvm-libc-types/__pthread_tss_dtor_t.h +++ b/libc/include/llvm-libc-types/__pthread_tss_dtor_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_TSS_DTOR_T_H__ -#define __LLVM_LIBC_TYPES_PTHREAD_TSS_DTOR_T_H__ +#ifndef LLVM_LIBC_TYPES___PTHREAD_TSS_DTOR_T_H +#define LLVM_LIBC_TYPES___PTHREAD_TSS_DTOR_T_H typedef void (*__pthread_tss_dtor_t)(void *); -#endif // __LLVM_LIBC_TYPES_PTHREAD_TSS_DTOR_T_H__ +#endif // LLVM_LIBC_TYPES___PTHREAD_TSS_DTOR_T_H diff --git a/libc/include/llvm-libc-types/__qsortcompare_t.h b/libc/include/llvm-libc-types/__qsortcompare_t.h index 82bd4cc..48fc9ccb 100644 --- a/libc/include/llvm-libc-types/__qsortcompare_t.h +++ b/libc/include/llvm-libc-types/__qsortcompare_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_QSORTCOMPARE_T_H__ -#define __LLVM_LIBC_TYPES_QSORTCOMPARE_T_H__ +#ifndef LLVM_LIBC_TYPES___QSORTCOMPARE_T_H +#define LLVM_LIBC_TYPES___QSORTCOMPARE_T_H typedef int (*__qsortcompare_t)(const void *, const void *); -#endif // __LLVM_LIBC_TYPES_QSORTCOMPARE_T_H__ +#endif // LLVM_LIBC_TYPES___QSORTCOMPARE_T_H diff --git a/libc/include/llvm-libc-types/__qsortrcompare_t.h b/libc/include/llvm-libc-types/__qsortrcompare_t.h index febf79d..f6b0588 100644 --- a/libc/include/llvm-libc-types/__qsortrcompare_t.h +++ b/libc/include/llvm-libc-types/__qsortrcompare_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_QSORTRCOMPARE_T_H__ -#define __LLVM_LIBC_TYPES_QSORTRCOMPARE_T_H__ +#ifndef LLVM_LIBC_TYPES___QSORTRCOMPARE_T_H +#define LLVM_LIBC_TYPES___QSORTRCOMPARE_T_H typedef int (*__qsortrcompare_t)(const void *, const void *, void *); -#endif // __LLVM_LIBC_TYPES_QSORTRCOMPARE_T_H__ +#endif // LLVM_LIBC_TYPES___QSORTRCOMPARE_T_H diff --git a/libc/include/llvm-libc-types/__sighandler_t.h b/libc/include/llvm-libc-types/__sighandler_t.h index bd0ad98..9c1ac99 100644 --- a/libc/include/llvm-libc-types/__sighandler_t.h +++ b/libc/include/llvm-libc-types/__sighandler_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SIGHANDLER_T_H__ -#define __LLVM_LIBC_TYPES_SIGHANDLER_T_H__ +#ifndef LLVM_LIBC_TYPES___SIGHANDLER_T_H +#define LLVM_LIBC_TYPES___SIGHANDLER_T_H typedef void (*__sighandler_t)(int); -#endif // __LLVM_LIBC_TYPES_SIGHANDLER_T_H__ +#endif // LLVM_LIBC_TYPES___SIGHANDLER_T_H diff --git a/libc/include/llvm-libc-types/__thread_type.h b/libc/include/llvm-libc-types/__thread_type.h index da5b898..645573f 100644 --- a/libc/include/llvm-libc-types/__thread_type.h +++ b/libc/include/llvm-libc-types/__thread_type.h @@ -6,11 +6,11 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_THREAD_TYPE_H__ -#define __LLVM_LIBC_TYPES_THREAD_TYPE_H__ +#ifndef LLVM_LIBC_TYPES___THREAD_TYPE_H +#define LLVM_LIBC_TYPES___THREAD_TYPE_H typedef struct { void *__attrib; } __thread_type; -#endif // __LLVM_LIBC_TYPES_THREAD_TYPE_H__ +#endif // LLVM_LIBC_TYPES___THREAD_TYPE_H diff --git a/libc/include/llvm-libc-types/blkcnt_t.h b/libc/include/llvm-libc-types/blkcnt_t.h index acd8d34..9dea8f0 100644 --- a/libc/include/llvm-libc-types/blkcnt_t.h +++ b/libc/include/llvm-libc-types/blkcnt_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_BLKCNT_T_H__ -#define __LLVM_LIBC_TYPES_BLKCNT_T_H__ +#ifndef LLVM_LIBC_TYPES_BLKCNT_T_H +#define LLVM_LIBC_TYPES_BLKCNT_T_H typedef __INTPTR_TYPE__ blkcnt_t; -#endif // __LLVM_LIBC_TYPES_BLKCNT_T_H__ +#endif // LLVM_LIBC_TYPES_BLKCNT_T_H diff --git a/libc/include/llvm-libc-types/blksize_t.h b/libc/include/llvm-libc-types/blksize_t.h index 99ddac5..7caa970 100644 --- a/libc/include/llvm-libc-types/blksize_t.h +++ b/libc/include/llvm-libc-types/blksize_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_BLKSIZE_T_H__ -#define __LLVM_LIBC_TYPES_BLKSIZE_T_H__ +#ifndef LLVM_LIBC_TYPES_BLKSIZE_T_H +#define LLVM_LIBC_TYPES_BLKSIZE_T_H typedef __INTPTR_TYPE__ blksize_t; -#endif // __LLVM_LIBC_TYPES_BLKSIZE_T_H__ +#endif // LLVM_LIBC_TYPES_BLKSIZE_T_H diff --git a/libc/include/llvm-libc-types/cc_t.h b/libc/include/llvm-libc-types/cc_t.h index e08523c..40d99ad 100644 --- a/libc/include/llvm-libc-types/cc_t.h +++ b/libc/include/llvm-libc-types/cc_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_CC_T_H__ -#define __LLVM_LIBC_TYPES_CC_T_H__ +#ifndef LLVM_LIBC_TYPES_CC_T_H +#define LLVM_LIBC_TYPES_CC_T_H typedef unsigned char cc_t; -#endif // __LLVM_LIBC_TYPES_CC_T_H__ +#endif // LLVM_LIBC_TYPES_CC_T_H diff --git a/libc/include/llvm-libc-types/clock_t.h b/libc/include/llvm-libc-types/clock_t.h index b7969d6..8759ee9 100644 --- a/libc/include/llvm-libc-types/clock_t.h +++ b/libc/include/llvm-libc-types/clock_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_CLOCK_T_H__ -#define __LLVM_LIBC_TYPES_CLOCK_T_H__ +#ifndef LLVM_LIBC_TYPES_CLOCK_T_H +#define LLVM_LIBC_TYPES_CLOCK_T_H typedef long clock_t; -#endif // __LLVM_LIBC_TYPES_CLOCK_T_H__ +#endif // LLVM_LIBC_TYPES_CLOCK_T_H diff --git a/libc/include/llvm-libc-types/clockid_t.h b/libc/include/llvm-libc-types/clockid_t.h index ddaceb6..4b05959 100644 --- a/libc/include/llvm-libc-types/clockid_t.h +++ b/libc/include/llvm-libc-types/clockid_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_CLOCKID_T_H__ -#define __LLVM_LIBC_TYPES_CLOCKID_T_H__ +#ifndef LLVM_LIBC_TYPES_CLOCKID_T_H +#define LLVM_LIBC_TYPES_CLOCKID_T_H typedef int clockid_t; -#endif // __LLVM_LIBC_TYPES_CLOCKID_T_H__ +#endif // LLVM_LIBC_TYPES_CLOCKID_T_H diff --git a/libc/include/llvm-libc-types/cnd_t.h b/libc/include/llvm-libc-types/cnd_t.h index 09a29ac..1159ac4 100644 --- a/libc/include/llvm-libc-types/cnd_t.h +++ b/libc/include/llvm-libc-types/cnd_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_CND_T_H__ -#define __LLVM_LIBC_TYPES_CND_T_H__ +#ifndef LLVM_LIBC_TYPES_CND_T_H +#define LLVM_LIBC_TYPES_CND_T_H #include "mtx_t.h" @@ -17,4 +17,4 @@ typedef struct { mtx_t __qmtx; } cnd_t; -#endif // __LLVM_LIBC_TYPES_CND_T_H__ +#endif // LLVM_LIBC_TYPES_CND_T_H diff --git a/libc/include/llvm-libc-types/cookie_io_functions_t.h b/libc/include/llvm-libc-types/cookie_io_functions_t.h index df90416..f9fa1a2 100644 --- a/libc/include/llvm-libc-types/cookie_io_functions_t.h +++ b/libc/include/llvm-libc-types/cookie_io_functions_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_COOKIE_IO_FUNCTIONS_T_H -#define __LLVM_LIBC_TYPES_COOKIE_IO_FUNCTIONS_T_H +#ifndef LLVM_LIBC_TYPES_COOKIE_IO_FUNCTIONS_T_H +#define LLVM_LIBC_TYPES_COOKIE_IO_FUNCTIONS_T_H #include <llvm-libc-types/off64_t.h> #include <llvm-libc-types/size_t.h> @@ -25,4 +25,4 @@ typedef struct { cookie_close_function_t *close; } cookie_io_functions_t; -#endif // __LLVM_LIBC_TYPES_COOKIE_IO_FUNCTIONS_T_H +#endif // LLVM_LIBC_TYPES_COOKIE_IO_FUNCTIONS_T_H diff --git a/libc/include/llvm-libc-types/cpu_set_t.h b/libc/include/llvm-libc-types/cpu_set_t.h index 79f694a..e7f5259 100644 --- a/libc/include/llvm-libc-types/cpu_set_t.h +++ b/libc/include/llvm-libc-types/cpu_set_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_CPU_SET_T_H -#define __LLVM_LIBC_TYPES_CPU_SET_T_H +#ifndef LLVM_LIBC_TYPES_CPU_SET_T_H +#define LLVM_LIBC_TYPES_CPU_SET_T_H typedef struct { // If a processor with more than 1024 CPUs is to be supported in future, @@ -15,4 +15,4 @@ typedef struct { unsigned long __mask[128 / sizeof(unsigned long)]; } cpu_set_t; -#endif // __LLVM_LIBC_TYPES_CPU_SET_T_H +#endif // LLVM_LIBC_TYPES_CPU_SET_T_H diff --git a/libc/include/llvm-libc-types/dev_t.h b/libc/include/llvm-libc-types/dev_t.h index 9fbc41a..3181e34 100644 --- a/libc/include/llvm-libc-types/dev_t.h +++ b/libc/include/llvm-libc-types/dev_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_DEV_T_H__ -#define __LLVM_LIBC_TYPES_DEV_T_H__ +#ifndef LLVM_LIBC_TYPES_DEV_T_H +#define LLVM_LIBC_TYPES_DEV_T_H typedef __UINT64_TYPE__ dev_t; -#endif // __LLVM_LIBC_TYPES_DEV_T_H__ +#endif // LLVM_LIBC_TYPES_DEV_T_H diff --git a/libc/include/llvm-libc-types/div_t.h b/libc/include/llvm-libc-types/div_t.h index e495a1c..450603d 100644 --- a/libc/include/llvm-libc-types/div_t.h +++ b/libc/include/llvm-libc-types/div_t.h @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_DIV_T_H__ -#define __LLVM_LIBC_TYPES_DIV_T_H__ +#ifndef LLVM_LIBC_TYPES_DIV_T_H +#define LLVM_LIBC_TYPES_DIV_T_H typedef struct { int quot; int rem; } div_t; -#endif // __LLVM_LIBC_TYPES_DIV_T_H__ +#endif // LLVM_LIBC_TYPES_DIV_T_H diff --git a/libc/include/llvm-libc-types/double_t.h b/libc/include/llvm-libc-types/double_t.h index 2aa471d..c4ad08a 100644 --- a/libc/include/llvm-libc-types/double_t.h +++ b/libc/include/llvm-libc-types/double_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_DOUBLE_T_H__ -#define __LLVM_LIBC_TYPES_DOUBLE_T_H__ +#ifndef LLVM_LIBC_TYPES_DOUBLE_T_H +#define LLVM_LIBC_TYPES_DOUBLE_T_H #if !defined(__FLT_EVAL_METHOD__) || __FLT_EVAL_METHOD__ == 0 #define __LLVM_LIBC_DOUBLE_T double @@ -21,4 +21,4 @@ typedef __LLVM_LIBC_DOUBLE_T double_t; -#endif // __LLVM_LIBC_TYPES_DOUBLE_T_H__ +#endif // LLVM_LIBC_TYPES_DOUBLE_T_H diff --git a/libc/include/llvm-libc-types/fd_set.h b/libc/include/llvm-libc-types/fd_set.h index 54e3fc6..58fc438 100644 --- a/libc/include/llvm-libc-types/fd_set.h +++ b/libc/include/llvm-libc-types/fd_set.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_FD_SET_H__ -#define __LLVM_LIBC_TYPES_FD_SET_H__ +#ifndef LLVM_LIBC_TYPES_FD_SET_H +#define LLVM_LIBC_TYPES_FD_SET_H #include <llvm-libc-macros/sys-select-macros.h> // FD_SETSIZE @@ -15,4 +15,4 @@ typedef struct { __FD_SET_WORD_TYPE __set[__FD_SET_ARRAYSIZE]; } fd_set; -#endif // __LLVM_LIBC_TYPES_FD_SET_H__ +#endif // LLVM_LIBC_TYPES_FD_SET_H diff --git a/libc/include/llvm-libc-types/fenv_t.h b/libc/include/llvm-libc-types/fenv_t.h index 86fcf2e..c83f238 100644 --- a/libc/include/llvm-libc-types/fenv_t.h +++ b/libc/include/llvm-libc-types/fenv_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_FENV_T_H__ -#define __LLVM_LIBC_TYPES_FENV_T_H__ +#ifndef LLVM_LIBC_TYPES_FENV_T_H +#define LLVM_LIBC_TYPES_FENV_T_H #ifdef __aarch64__ typedef struct { @@ -33,4 +33,4 @@ typedef struct { #error "fenv_t not defined for your platform" #endif -#endif // __LLVM_LIBC_TYPES_FENV_T_H__ +#endif // LLVM_LIBC_TYPES_FENV_T_H diff --git a/libc/include/llvm-libc-types/fexcept_t.h b/libc/include/llvm-libc-types/fexcept_t.h index 6e7969c..60687bd 100644 --- a/libc/include/llvm-libc-types/fexcept_t.h +++ b/libc/include/llvm-libc-types/fexcept_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_FEXCEPT_T_H__ -#define __LLVM_LIBC_TYPES_FEXCEPT_T_H__ +#ifndef LLVM_LIBC_TYPES_FEXCEPT_T_H +#define LLVM_LIBC_TYPES_FEXCEPT_T_H typedef int fexcept_t; -#endif // __LLVM_LIBC_TYPES_FEXCEPT_T_H__ +#endif // LLVM_LIBC_TYPES_FEXCEPT_T_H diff --git a/libc/include/llvm-libc-types/float128.h b/libc/include/llvm-libc-types/float128.h index 1907a5e..e2dc18c 100644 --- a/libc/include/llvm-libc-types/float128.h +++ b/libc/include/llvm-libc-types/float128.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_FLOAT128_H__ -#define __LLVM_LIBC_TYPES_FLOAT128_H__ +#ifndef LLVM_LIBC_TYPES_FLOAT128_H +#define LLVM_LIBC_TYPES_FLOAT128_H #include "llvm-libc-macros/float-macros.h" // LDBL_MANT_DIG @@ -34,4 +34,4 @@ typedef __float128 float128; typedef long double float128; #endif -#endif // __LLVM_LIBC_TYPES_FLOAT128_H__ +#endif // LLVM_LIBC_TYPES_FLOAT128_H diff --git a/libc/include/llvm-libc-types/float_t.h b/libc/include/llvm-libc-types/float_t.h index 8df3bf0..5027249 100644 --- a/libc/include/llvm-libc-types/float_t.h +++ b/libc/include/llvm-libc-types/float_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_FLOAT_T_H__ -#define __LLVM_LIBC_TYPES_FLOAT_T_H__ +#ifndef LLVM_LIBC_TYPES_FLOAT_T_H +#define LLVM_LIBC_TYPES_FLOAT_T_H #if !defined(__FLT_EVAL_METHOD__) || __FLT_EVAL_METHOD__ == 0 #define __LLVM_LIBC_FLOAT_T float @@ -21,4 +21,4 @@ typedef __LLVM_LIBC_FLOAT_T float_t; -#endif // __LLVM_LIBC_TYPES_FLOAT_T_H__ +#endif // LLVM_LIBC_TYPES_FLOAT_T_H diff --git a/libc/include/llvm-libc-types/gid_t.h b/libc/include/llvm-libc-types/gid_t.h index 664aee0..cfe36ce 100644 --- a/libc/include/llvm-libc-types/gid_t.h +++ b/libc/include/llvm-libc-types/gid_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_GID_T_H__ -#define __LLVM_LIBC_TYPES_GID_T_H__ +#ifndef LLVM_LIBC_TYPES_GID_T_H +#define LLVM_LIBC_TYPES_GID_T_H typedef __UINT32_TYPE__ gid_t; -#endif // __LLVM_LIBC_TYPES_GID_T_H__ +#endif // LLVM_LIBC_TYPES_GID_T_H diff --git a/libc/include/llvm-libc-types/ino_t.h b/libc/include/llvm-libc-types/ino_t.h index 0f5abd9..148bd67 100644 --- a/libc/include/llvm-libc-types/ino_t.h +++ b/libc/include/llvm-libc-types/ino_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_INO_T_H__ -#define __LLVM_LIBC_TYPES_INO_T_H__ +#ifndef LLVM_LIBC_TYPES_INO_T_H +#define LLVM_LIBC_TYPES_INO_T_H typedef __UINTPTR_TYPE__ ino_t; -#endif // __LLVM_LIBC_TYPES_INO_T_H__ +#endif // LLVM_LIBC_TYPES_INO_T_H diff --git a/libc/include/llvm-libc-types/jmp_buf.h b/libc/include/llvm-libc-types/jmp_buf.h index 6af4e8e..29a1df9 100644 --- a/libc/include/llvm-libc-types/jmp_buf.h +++ b/libc/include/llvm-libc-types/jmp_buf.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_JMP_BUF_H__ -#define __LLVM_LIBC_TYPES_JMP_BUF_H__ +#ifndef LLVM_LIBC_TYPES_JMP_BUF_H +#define LLVM_LIBC_TYPES_JMP_BUF_H typedef struct { #ifdef __x86_64__ @@ -39,4 +39,4 @@ typedef struct { typedef __jmp_buf jmp_buf[1]; -#endif // __LLVM_LIBC_TYPES_JMP_BUF_H__ +#endif // LLVM_LIBC_TYPES_JMP_BUF_H diff --git a/libc/include/llvm-libc-types/ldiv_t.h b/libc/include/llvm-libc-types/ldiv_t.h index 9bd8d25..5c64ec1 100644 --- a/libc/include/llvm-libc-types/ldiv_t.h +++ b/libc/include/llvm-libc-types/ldiv_t.h @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_LDIV_T_H__ -#define __LLVM_LIBC_TYPES_LDIV_T_H__ +#ifndef LLVM_LIBC_TYPES_LDIV_T_H +#define LLVM_LIBC_TYPES_LDIV_T_H typedef struct { long quot; long rem; } ldiv_t; -#endif // __LLVM_LIBC_TYPES_LDIV_T_H__ +#endif // LLVM_LIBC_TYPES_LDIV_T_H diff --git a/libc/include/llvm-libc-types/lldiv_t.h b/libc/include/llvm-libc-types/lldiv_t.h index 109304d1..5b8dcbe 100644 --- a/libc/include/llvm-libc-types/lldiv_t.h +++ b/libc/include/llvm-libc-types/lldiv_t.h @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_LLDIV_T_H__ -#define __LLVM_LIBC_TYPES_LLDIV_T_H__ +#ifndef LLVM_LIBC_TYPES_LLDIV_T_H +#define LLVM_LIBC_TYPES_LLDIV_T_H typedef struct { long long quot; long long rem; } lldiv_t; -#endif // __LLVM_LIBC_TYPES_LLDIV_T_H__ +#endif // LLVM_LIBC_TYPES_LLDIV_T_H diff --git a/libc/include/llvm-libc-types/mode_t.h b/libc/include/llvm-libc-types/mode_t.h index 20037bb..fe09060 100644 --- a/libc/include/llvm-libc-types/mode_t.h +++ b/libc/include/llvm-libc-types/mode_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_MODE_T_H -#define __LLVM_LIBC_TYPES_MODE_T_H +#ifndef LLVM_LIBC_TYPES_MODE_T_H +#define LLVM_LIBC_TYPES_MODE_T_H typedef unsigned mode_t; -#endif // __LLVM_LIBC_TYPES_MODE_T_H +#endif // LLVM_LIBC_TYPES_MODE_T_H diff --git a/libc/include/llvm-libc-types/mtx_t.h b/libc/include/llvm-libc-types/mtx_t.h index ac6453e..0f3882c 100644 --- a/libc/include/llvm-libc-types/mtx_t.h +++ b/libc/include/llvm-libc-types/mtx_t.h @@ -6,11 +6,11 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_MTX_T_H__ -#define __LLVM_LIBC_TYPES_MTX_T_H__ +#ifndef LLVM_LIBC_TYPES_MTX_T_H +#define LLVM_LIBC_TYPES_MTX_T_H #include <llvm-libc-types/__mutex_type.h> typedef __mutex_type mtx_t; -#endif // __LLVM_LIBC_TYPES_MTX_T_H__ +#endif // LLVM_LIBC_TYPES_MTX_T_H diff --git a/libc/include/llvm-libc-types/nlink_t.h b/libc/include/llvm-libc-types/nlink_t.h index 1826144..7e0016a 100644 --- a/libc/include/llvm-libc-types/nlink_t.h +++ b/libc/include/llvm-libc-types/nlink_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_NLINK_T_H__ -#define __LLVM_LIBC_TYPES_NLINK_T_H__ +#ifndef LLVM_LIBC_TYPES_NLINK_T_H +#define LLVM_LIBC_TYPES_NLINK_T_H typedef __UINTPTR_TYPE__ nlink_t; -#endif // __LLVM_LIBC_TYPES_NLINK_T_H__ +#endif // LLVM_LIBC_TYPES_NLINK_T_H diff --git a/libc/include/llvm-libc-types/off64_t.h b/libc/include/llvm-libc-types/off64_t.h index 0f95caa..669698a 100644 --- a/libc/include/llvm-libc-types/off64_t.h +++ b/libc/include/llvm-libc-types/off64_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_OFF64_T_H__ -#define __LLVM_LIBC_TYPES_OFF64_T_H__ +#ifndef LLVM_LIBC_TYPES_OFF64_T_H +#define LLVM_LIBC_TYPES_OFF64_T_H typedef __INT64_TYPE__ off64_t; -#endif // __LLVM_LIBC_TYPES_OFF64_T_H__ +#endif // LLVM_LIBC_TYPES_OFF64_T_H diff --git a/libc/include/llvm-libc-types/off_t.h b/libc/include/llvm-libc-types/off_t.h index 111b29aa..63224b6 100644 --- a/libc/include/llvm-libc-types/off_t.h +++ b/libc/include/llvm-libc-types/off_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_OFF_T_H__ -#define __LLVM_LIBC_TYPES_OFF_T_H__ +#ifndef LLVM_LIBC_TYPES_OFF_T_H +#define LLVM_LIBC_TYPES_OFF_T_H typedef __INT64_TYPE__ off_t; -#endif // __LLVM_LIBC_TYPES_OFF_T_H__ +#endif // LLVM_LIBC_TYPES_OFF_T_H diff --git a/libc/include/llvm-libc-types/once_flag.h b/libc/include/llvm-libc-types/once_flag.h index 77bab28..cb80112 100644 --- a/libc/include/llvm-libc-types/once_flag.h +++ b/libc/include/llvm-libc-types/once_flag.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_ONCE_FLAG_H__ -#define __LLVM_LIBC_TYPES_ONCE_FLAG_H__ +#ifndef LLVM_LIBC_TYPES_ONCE_FLAG_H +#define LLVM_LIBC_TYPES_ONCE_FLAG_H #include <llvm-libc-types/__futex_word.h> @@ -17,4 +17,4 @@ typedef __futex_word once_flag; #error "Once flag type not defined for the target platform." #endif -#endif // __LLVM_LIBC_TYPES_ONCE_FLAG_H__ +#endif // LLVM_LIBC_TYPES_ONCE_FLAG_H diff --git a/libc/include/llvm-libc-types/pid_t.h b/libc/include/llvm-libc-types/pid_t.h index d78fde7..0397bd2 100644 --- a/libc/include/llvm-libc-types/pid_t.h +++ b/libc/include/llvm-libc-types/pid_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PID_t_H__ -#define __LLVM_LIBC_TYPES_PID_t_H__ +#ifndef LLVM_LIBC_TYPES_PID_T_H +#define LLVM_LIBC_TYPES_PID_T_H typedef __INT32_TYPE__ pid_t; -#endif // __LLVM_LIBC_TYPES_PID_t_H__ +#endif // LLVM_LIBC_TYPES_PID_T_H diff --git a/libc/include/llvm-libc-types/posix_spawn_file_actions_t.h b/libc/include/llvm-libc-types/posix_spawn_file_actions_t.h index 55adbd1..3062da3 100644 --- a/libc/include/llvm-libc-types/posix_spawn_file_actions_t.h +++ b/libc/include/llvm-libc-types/posix_spawn_file_actions_t.h @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_POSIX_SPAWN_FILE_ACTIONS_T_T_H -#define __LLVM_LIBC_TYPES_POSIX_SPAWN_FILE_ACTIONS_T_T_H +#ifndef LLVM_LIBC_TYPES_POSIX_SPAWN_FILE_ACTIONS_T_H +#define LLVM_LIBC_TYPES_POSIX_SPAWN_FILE_ACTIONS_T_H typedef struct { void *__front; void *__back; } posix_spawn_file_actions_t; -#endif // __LLVM_LIBC_TYPES_POSIX_SPAWN_FILE_ACTIONS_T_T_H +#endif // LLVM_LIBC_TYPES_POSIX_SPAWN_FILE_ACTIONS_T_H diff --git a/libc/include/llvm-libc-types/posix_spawnattr_t.h b/libc/include/llvm-libc-types/posix_spawnattr_t.h index f1bcb3e..47cadc7c 100644 --- a/libc/include/llvm-libc-types/posix_spawnattr_t.h +++ b/libc/include/llvm-libc-types/posix_spawnattr_t.h @@ -6,11 +6,11 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_POSIX_SPAWNATTR_T_H -#define __LLVM_LIBC_TYPES_POSIX_SPAWNATTR_T_H +#ifndef LLVM_LIBC_TYPES_POSIX_SPAWNATTR_T_H +#define LLVM_LIBC_TYPES_POSIX_SPAWNATTR_T_H typedef struct { // This data structure will be populated as required. } posix_spawnattr_t; -#endif // __LLVM_LIBC_TYPES_POSIX_SPAWNATTR_T_H +#endif // LLVM_LIBC_TYPES_POSIX_SPAWNATTR_T_H diff --git a/libc/include/llvm-libc-types/pthread_attr_t.h b/libc/include/llvm-libc-types/pthread_attr_t.h index 7bf8a54..66c04de 100644 --- a/libc/include/llvm-libc-types/pthread_attr_t.h +++ b/libc/include/llvm-libc-types/pthread_attr_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_ATTR_T_H -#define __LLVM_LIBC_TYPES_PTHREAD_ATTR_T_H +#ifndef LLVM_LIBC_TYPES_PTHREAD_ATTR_T_H +#define LLVM_LIBC_TYPES_PTHREAD_ATTR_T_H #include <llvm-libc-types/size_t.h> @@ -18,4 +18,4 @@ typedef struct { size_t __guardsize; } pthread_attr_t; -#endif // __LLVM_LIBC_TYPES_PTHREAD_ATTR_T_H +#endif // LLVM_LIBC_TYPES_PTHREAD_ATTR_T_H diff --git a/libc/include/llvm-libc-types/pthread_key_t.h b/libc/include/llvm-libc-types/pthread_key_t.h index 351e376..e73c7e2 100644 --- a/libc/include/llvm-libc-types/pthread_key_t.h +++ b/libc/include/llvm-libc-types/pthread_key_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_KEY_T_H__ -#define __LLVM_LIBC_TYPES_PTHREAD_KEY_T_H__ +#ifndef LLVM_LIBC_TYPES_PTHREAD_KEY_T_H +#define LLVM_LIBC_TYPES_PTHREAD_KEY_T_H typedef unsigned int pthread_key_t; -#endif // __LLVM_LIBC_TYPES_PTHREAD_KEY_T_H__ +#endif // LLVM_LIBC_TYPES_PTHREAD_KEY_T_H diff --git a/libc/include/llvm-libc-types/pthread_mutex_t.h b/libc/include/llvm-libc-types/pthread_mutex_t.h index 65e4353..b1eb21f 100644 --- a/libc/include/llvm-libc-types/pthread_mutex_t.h +++ b/libc/include/llvm-libc-types/pthread_mutex_t.h @@ -6,11 +6,11 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_MUTEX_T_H -#define __LLVM_LIBC_TYPES_PTHREAD_MUTEX_T_H +#ifndef LLVM_LIBC_TYPES_PTHREAD_MUTEX_T_H +#define LLVM_LIBC_TYPES_PTHREAD_MUTEX_T_H #include <llvm-libc-types/__mutex_type.h> typedef __mutex_type pthread_mutex_t; -#endif // __LLVM_LIBC_TYPES_PTHREAD_MUTEX_T_H +#endif // LLVM_LIBC_TYPES_PTHREAD_MUTEX_T_H diff --git a/libc/include/llvm-libc-types/pthread_mutexattr_t.h b/libc/include/llvm-libc-types/pthread_mutexattr_t.h index be1ff56..8f159a6 100644 --- a/libc/include/llvm-libc-types/pthread_mutexattr_t.h +++ b/libc/include/llvm-libc-types/pthread_mutexattr_t.h @@ -6,11 +6,11 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_MUTEXATTR_T_H -#define __LLVM_LIBC_TYPES_PTHREAD_MUTEXATTR_T_H +#ifndef LLVM_LIBC_TYPES_PTHREAD_MUTEXATTR_T_H +#define LLVM_LIBC_TYPES_PTHREAD_MUTEXATTR_T_H // pthread_mutexattr_t is a collection bit mapped flags. The mapping is internal // detail of the libc implementation. typedef unsigned int pthread_mutexattr_t; -#endif // __LLVM_LIBC_TYPES_PTHREAD_MUTEXATTR_T_H +#endif // LLVM_LIBC_TYPES_PTHREAD_MUTEXATTR_T_H diff --git a/libc/include/llvm-libc-types/pthread_once_t.h b/libc/include/llvm-libc-types/pthread_once_t.h index 6d65f8f..3fe78b7 100644 --- a/libc/include/llvm-libc-types/pthread_once_t.h +++ b/libc/include/llvm-libc-types/pthread_once_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_ONCE_T_H__ -#define __LLVM_LIBC_TYPES_PTHREAD_ONCE_T_H__ +#ifndef LLVM_LIBC_TYPES_PTHREAD_ONCE_T_H +#define LLVM_LIBC_TYPES_PTHREAD_ONCE_T_H #include <llvm-libc-types/__futex_word.h> @@ -17,4 +17,4 @@ typedef __futex_word pthread_once_t; #error "Once flag type not defined for the target platform." #endif -#endif // __LLVM_LIBC_TYPES_PTHREAD_ONCE_T_H__ +#endif // LLVM_LIBC_TYPES_PTHREAD_ONCE_T_H diff --git a/libc/include/llvm-libc-types/pthread_t.h b/libc/include/llvm-libc-types/pthread_t.h index 8130491..72c14e1 100644 --- a/libc/include/llvm-libc-types/pthread_t.h +++ b/libc/include/llvm-libc-types/pthread_t.h @@ -6,11 +6,11 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_PTHREAD_T_H__ -#define __LLVM_LIBC_TYPES_PTHREAD_T_H__ +#ifndef LLVM_LIBC_TYPES_PTHREAD_T_H +#define LLVM_LIBC_TYPES_PTHREAD_T_H #include <llvm-libc-types/__thread_type.h> typedef __thread_type pthread_t; -#endif // __LLVM_LIBC_TYPES_PTHREAD_T_H__ +#endif // LLVM_LIBC_TYPES_PTHREAD_T_H diff --git a/libc/include/llvm-libc-types/rlim_t.h b/libc/include/llvm-libc-types/rlim_t.h index 4e5acfb..016ec7b 100644 --- a/libc/include/llvm-libc-types/rlim_t.h +++ b/libc/include/llvm-libc-types/rlim_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_RLIM_T_H__ -#define __LLVM_LIBC_TYPES_RLIM_T_H__ +#ifndef LLVM_LIBC_TYPES_RLIM_T_H +#define LLVM_LIBC_TYPES_RLIM_T_H typedef __UINT64_TYPE__ rlim_t; -#endif // __LLVM_LIBC_TYPES_RLIM_T_H__ +#endif // LLVM_LIBC_TYPES_RLIM_T_H diff --git a/libc/include/llvm-libc-types/rpc_opcodes_t.h b/libc/include/llvm-libc-types/rpc_opcodes_t.h index 7b85428..919ea03 100644 --- a/libc/include/llvm-libc-types/rpc_opcodes_t.h +++ b/libc/include/llvm-libc-types/rpc_opcodes_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_RPC_OPCODE_H__ -#define __LLVM_LIBC_TYPES_RPC_OPCODE_H__ +#ifndef LLVM_LIBC_TYPES_RPC_OPCODES_T_H +#define LLVM_LIBC_TYPES_RPC_OPCODES_T_H typedef enum { RPC_NOOP = 0, @@ -34,4 +34,4 @@ typedef enum { RPC_LAST = 0xFFFF, } rpc_opcode_t; -#endif // __LLVM_LIBC_TYPES_RPC_OPCODE_H__ +#endif // LLVM_LIBC_TYPES_RPC_OPCODES_T_H diff --git a/libc/include/llvm-libc-types/sa_family_t.h b/libc/include/llvm-libc-types/sa_family_t.h index 52b6995..0a010b6 100644 --- a/libc/include/llvm-libc-types/sa_family_t.h +++ b/libc/include/llvm-libc-types/sa_family_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SA_FAMILY_T_H__ -#define __LLVM_LIBC_TYPES_SA_FAMILY_T_H__ +#ifndef LLVM_LIBC_TYPES_SA_FAMILY_T_H +#define LLVM_LIBC_TYPES_SA_FAMILY_T_H // The posix standard only says of sa_family_t that it must be unsigned. The // linux man page for "address_families" lists approximately 32 different @@ -16,4 +16,4 @@ typedef unsigned short sa_family_t; -#endif // __LLVM_LIBC_TYPES_SA_FAMILY_T_H__ +#endif // LLVM_LIBC_TYPES_SA_FAMILY_T_H diff --git a/libc/include/llvm-libc-types/sig_atomic_t.h b/libc/include/llvm-libc-types/sig_atomic_t.h index 324629c..2ef3758 100644 --- a/libc/include/llvm-libc-types/sig_atomic_t.h +++ b/libc/include/llvm-libc-types/sig_atomic_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SIG_ATOMIC_T_H__ -#define __LLVM_LIBC_TYPES_SIG_ATOMIC_T_H__ +#ifndef LLVM_LIBC_TYPES_SIG_ATOMIC_T_H +#define LLVM_LIBC_TYPES_SIG_ATOMIC_T_H typedef int sig_atomic_t; -#endif // __LLVM_LIBC_TYPES_SIG_ATOMIC_T_H__ +#endif // LLVM_LIBC_TYPES_SIG_ATOMIC_T_H diff --git a/libc/include/llvm-libc-types/siginfo_t.h b/libc/include/llvm-libc-types/siginfo_t.h index ef8af78..935ef4bb 100644 --- a/libc/include/llvm-libc-types/siginfo_t.h +++ b/libc/include/llvm-libc-types/siginfo_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SIGINFO_T_H__ -#define __LLVM_LIBC_TYPES_SIGINFO_T_H__ +#ifndef LLVM_LIBC_TYPES_SIGINFO_T_H +#define LLVM_LIBC_TYPES_SIGINFO_T_H #include <llvm-libc-types/clock_t.h> #include <llvm-libc-types/pid_t.h> @@ -106,4 +106,4 @@ typedef struct { #define si_syscall _sifields._sigsys._syscall #define si_arch _sifields._sigsys._arch -#endif // __LLVM_LIBC_TYPES_SIGINFO_T_H__ +#endif // LLVM_LIBC_TYPES_SIGINFO_T_H diff --git a/libc/include/llvm-libc-types/sigset_t.h b/libc/include/llvm-libc-types/sigset_t.h index bcfbc29..f159c6c 100644 --- a/libc/include/llvm-libc-types/sigset_t.h +++ b/libc/include/llvm-libc-types/sigset_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SIGSET_T_H__ -#define __LLVM_LIBC_TYPES_SIGSET_T_H__ +#ifndef LLVM_LIBC_TYPES_SIGSET_T_H +#define LLVM_LIBC_TYPES_SIGSET_T_H #include <llvm-libc-macros/signal-macros.h> @@ -17,4 +17,4 @@ typedef struct { unsigned long __signals[__NSIGSET_WORDS]; } sigset_t; -#endif // __LLVM_LIBC_TYPES_SIGSET_T_H__ +#endif // LLVM_LIBC_TYPES_SIGSET_T_H diff --git a/libc/include/llvm-libc-types/size_t.h b/libc/include/llvm-libc-types/size_t.h index 8eaf194..3b31b08 100644 --- a/libc/include/llvm-libc-types/size_t.h +++ b/libc/include/llvm-libc-types/size_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SIZE_T_H__ -#define __LLVM_LIBC_TYPES_SIZE_T_H__ +#ifndef LLVM_LIBC_TYPES_SIZE_T_H +#define LLVM_LIBC_TYPES_SIZE_T_H // Since __need_size_t is defined, we get the definition of size_t from the // standalone C header stddef.h. Also, because __need_size_t is defined, @@ -16,4 +16,4 @@ #include <stddef.h> #undef __need_size_t -#endif // __LLVM_LIBC_TYPES_SIZE_T_H__ +#endif // LLVM_LIBC_TYPES_SIZE_T_H diff --git a/libc/include/llvm-libc-types/socklen_t.h b/libc/include/llvm-libc-types/socklen_t.h index 3134a53..5357747 100644 --- a/libc/include/llvm-libc-types/socklen_t.h +++ b/libc/include/llvm-libc-types/socklen_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SOCKLEN_T_H__ -#define __LLVM_LIBC_TYPES_SOCKLEN_T_H__ +#ifndef LLVM_LIBC_TYPES_SOCKLEN_T_H +#define LLVM_LIBC_TYPES_SOCKLEN_T_H // The posix standard only says of socklen_t that it must be an integer type of // width of at least 32 bits. The long type is defined as being at least 32 @@ -15,4 +15,4 @@ typedef unsigned long socklen_t; -#endif // __LLVM_LIBC_TYPES_SOCKLEN_T_H__ +#endif // LLVM_LIBC_TYPES_SOCKLEN_T_H diff --git a/libc/include/llvm-libc-types/speed_t.h b/libc/include/llvm-libc-types/speed_t.h index b4ec13d..9875d3b8 100644 --- a/libc/include/llvm-libc-types/speed_t.h +++ b/libc/include/llvm-libc-types/speed_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SPEED_T_H__ -#define __LLVM_LIBC_TYPES_SPEED_T_H__ +#ifndef LLVM_LIBC_TYPES_SPEED_T_H +#define LLVM_LIBC_TYPES_SPEED_T_H typedef unsigned int speed_t; -#endif // __LLVM_LIBC_TYPES_SPEED_T_H__ +#endif // LLVM_LIBC_TYPES_SPEED_T_H diff --git a/libc/include/llvm-libc-types/ssize_t.h b/libc/include/llvm-libc-types/ssize_t.h index b887453..41e4b6d 100644 --- a/libc/include/llvm-libc-types/ssize_t.h +++ b/libc/include/llvm-libc-types/ssize_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SSIZE_T_H__ -#define __LLVM_LIBC_TYPES_SSIZE_T_H__ +#ifndef LLVM_LIBC_TYPES_SSIZE_T_H +#define LLVM_LIBC_TYPES_SSIZE_T_H typedef __INT64_TYPE__ ssize_t; -#endif // __LLVM_LIBC_TYPES_SSIZE_T_H__ +#endif // LLVM_LIBC_TYPES_SSIZE_T_H diff --git a/libc/include/llvm-libc-types/stack_t.h b/libc/include/llvm-libc-types/stack_t.h index f564d91..5fa4d3a 100644 --- a/libc/include/llvm-libc-types/stack_t.h +++ b/libc/include/llvm-libc-types/stack_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STACK_T_H__ -#define __LLVM_LIBC_TYPES_STACK_T_H__ +#ifndef LLVM_LIBC_TYPES_STACK_T_H +#define LLVM_LIBC_TYPES_STACK_T_H #include <llvm-libc-types/size_t.h> @@ -19,4 +19,4 @@ typedef struct { size_t ss_size; } stack_t; -#endif // __LLVM_LIBC_TYPES_STACK_T_H__ +#endif // LLVM_LIBC_TYPES_STACK_T_H diff --git a/libc/include/llvm-libc-types/struct_dirent.h b/libc/include/llvm-libc-types/struct_dirent.h index de54a22..3c5b361 100644 --- a/libc/include/llvm-libc-types/struct_dirent.h +++ b/libc/include/llvm-libc-types/struct_dirent.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_DIRENT_H__ -#define __LLVM_LIBC_TYPES_STRUCT_DIRENT_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_DIRENT_H +#define LLVM_LIBC_TYPES_STRUCT_DIRENT_H #include <llvm-libc-types/ino_t.h> #include <llvm-libc-types/off_t.h> @@ -26,4 +26,4 @@ struct dirent { char d_name[1]; }; -#endif // __LLVM_LIBC_TYPES_STRUCT_DIRENT_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_DIRENT_H diff --git a/libc/include/llvm-libc-types/struct_epoll_data.h b/libc/include/llvm-libc-types/struct_epoll_data.h index c363171..7200276 100644 --- a/libc/include/llvm-libc-types/struct_epoll_data.h +++ b/libc/include/llvm-libc-types/struct_epoll_data.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_EPOLL_DATA_H__ -#define __LLVM_LIBC_TYPES_EPOLL_DATA_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H +#define LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H union epoll_data { void *ptr; @@ -18,4 +18,4 @@ union epoll_data { typedef union epoll_data epoll_data_t; -#endif // __LLVM_LIBC_TYPES_EPOLL_DATA_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_EPOLL_DATA_H diff --git a/libc/include/llvm-libc-types/struct_epoll_event.h b/libc/include/llvm-libc-types/struct_epoll_event.h index edfa026..6fc5b41 100644 --- a/libc/include/llvm-libc-types/struct_epoll_event.h +++ b/libc/include/llvm-libc-types/struct_epoll_event.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_EPOLL_EVENT_H__ -#define __LLVM_LIBC_TYPES_EPOLL_EVENT_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_EPOLL_EVENT_H +#define LLVM_LIBC_TYPES_STRUCT_EPOLL_EVENT_H #include <llvm-libc-types/struct_epoll_data.h> @@ -16,4 +16,4 @@ typedef struct epoll_event { epoll_data_t data; } epoll_event; -#endif // __LLVM_LIBC_TYPES_EPOLL_EVENT_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_EPOLL_EVENT_H diff --git a/libc/include/llvm-libc-types/struct_hsearch_data.h b/libc/include/llvm-libc-types/struct_hsearch_data.h index 7e2a7232..cdb1d0c 100644 --- a/libc/include/llvm-libc-types/struct_hsearch_data.h +++ b/libc/include/llvm-libc-types/struct_hsearch_data.h @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_HSEARCH_DATA_H__ -#define __LLVM_LIBC_TYPES_STRUCT_HSEARCH_DATA_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_HSEARCH_DATA_H +#define LLVM_LIBC_TYPES_STRUCT_HSEARCH_DATA_H struct hsearch_data { void *__opaque; unsigned int __unused[2]; }; -#endif // __LLVM_LIBC_TYPES_STRUCT_HSEARCH_DATA_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_HSEARCH_DATA_H diff --git a/libc/include/llvm-libc-types/struct_rlimit.h b/libc/include/llvm-libc-types/struct_rlimit.h index 4fe0aa6..e093d9f 100644 --- a/libc/include/llvm-libc-types/struct_rlimit.h +++ b/libc/include/llvm-libc-types/struct_rlimit.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_RLIMIT_H__ -#define __LLVM_LIBC_TYPES_STRUCT_RLIMIT_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_RLIMIT_H +#define LLVM_LIBC_TYPES_STRUCT_RLIMIT_H #include <llvm-libc-types/rlim_t.h> @@ -16,4 +16,4 @@ struct rlimit { rlim_t rlim_max; }; -#endif // __LLVM_LIBC_TYPES_STRUCT_RLIMIT_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_RLIMIT_H diff --git a/libc/include/llvm-libc-types/struct_rusage.h b/libc/include/llvm-libc-types/struct_rusage.h index 43f3457..21ea8b1 100644 --- a/libc/include/llvm-libc-types/struct_rusage.h +++ b/libc/include/llvm-libc-types/struct_rusage.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_RUSAGE_H__ -#define __LLVM_LIBC_TYPES_STRUCT_RUSAGE_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_RUSAGE_H +#define LLVM_LIBC_TYPES_STRUCT_RUSAGE_H #include <llvm-libc-types/struct_timeval.h> @@ -34,4 +34,4 @@ struct rusage { #endif }; -#endif // __LLVM_LIBC_TYPES_STRUCT_RUSAGE_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_RUSAGE_H diff --git a/libc/include/llvm-libc-types/struct_sched_param.h b/libc/include/llvm-libc-types/struct_sched_param.h index 4f31881..0521a4d 100644 --- a/libc/include/llvm-libc-types/struct_sched_param.h +++ b/libc/include/llvm-libc-types/struct_sched_param.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_SCHED_PARAM_H__ -#define __LLVM_LIBC_TYPES_STRUCT_SCHED_PARAM_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_SCHED_PARAM_H +#define LLVM_LIBC_TYPES_STRUCT_SCHED_PARAM_H #include <llvm-libc-types/pid_t.h> #include <llvm-libc-types/struct_timespec.h> @@ -18,4 +18,4 @@ struct sched_param { int sched_priority; }; -#endif // __LLVM_LIBC_TYPES_STRUCT_SCHED_PARAM_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_SCHED_PARAM_H diff --git a/libc/include/llvm-libc-types/struct_sigaction.h b/libc/include/llvm-libc-types/struct_sigaction.h index 3940f14..54d2995f 100644 --- a/libc/include/llvm-libc-types/struct_sigaction.h +++ b/libc/include/llvm-libc-types/struct_sigaction.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SIGACTION_H__ -#define __LLVM_LIBC_TYPES_SIGACTION_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_SIGACTION_H +#define LLVM_LIBC_TYPES_STRUCT_SIGACTION_H #include <llvm-libc-types/siginfo_t.h> #include <llvm-libc-types/sigset_t.h> @@ -27,4 +27,4 @@ struct sigaction { typedef void (*__sighandler_t)(int); -#endif // __LLVM_LIBC_TYPES_SIGACTION_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_SIGACTION_H diff --git a/libc/include/llvm-libc-types/struct_sockaddr.h b/libc/include/llvm-libc-types/struct_sockaddr.h index 9a6214c..074b1ae 100644 --- a/libc/include/llvm-libc-types/struct_sockaddr.h +++ b/libc/include/llvm-libc-types/struct_sockaddr.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H__ -#define __LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H +#define LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H #include <llvm-libc-types/sa_family_t.h> @@ -18,4 +18,4 @@ struct sockaddr { char sa_data[]; }; -#endif // __LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_SOCKADDR_H diff --git a/libc/include/llvm-libc-types/struct_sockaddr_un.h b/libc/include/llvm-libc-types/struct_sockaddr_un.h index 9c3efea..4332419 100644 --- a/libc/include/llvm-libc-types/struct_sockaddr_un.h +++ b/libc/include/llvm-libc-types/struct_sockaddr_un.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H__ -#define __LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H +#define LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H #include <llvm-libc-types/sa_family_t.h> @@ -19,4 +19,4 @@ struct sockaddr_un { char sun_path[108]; /* Pathname */ }; -#endif // __LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_SOCKADDR_UN_H diff --git a/libc/include/llvm-libc-types/struct_stat.h b/libc/include/llvm-libc-types/struct_stat.h index baaef15..3539fb5 100644 --- a/libc/include/llvm-libc-types/struct_stat.h +++ b/libc/include/llvm-libc-types/struct_stat.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_STAT_H__ -#define __LLVM_LIBC_TYPES_STRUCT_STAT_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_STAT_H +#define LLVM_LIBC_TYPES_STRUCT_STAT_H #include <llvm-libc-types/blkcnt_t.h> #include <llvm-libc-types/blksize_t.h> @@ -36,4 +36,4 @@ struct stat { blkcnt_t st_blocks; }; -#endif // __LLVM_LIBC_TYPES_STRUCT_STAT_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_STAT_H diff --git a/libc/include/llvm-libc-types/struct_timespec.h b/libc/include/llvm-libc-types/struct_timespec.h index 1fa6272..5d56d9c 100644 --- a/libc/include/llvm-libc-types/struct_timespec.h +++ b/libc/include/llvm-libc-types/struct_timespec.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TIMESPEC_H__ -#define __LLVM_LIBC_TYPES_TIMESPEC_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_TIMESPEC_H +#define LLVM_LIBC_TYPES_STRUCT_TIMESPEC_H #include <llvm-libc-types/time_t.h> @@ -17,4 +17,4 @@ struct timespec { long tv_nsec; /* Nanoseconds. */ }; -#endif // __LLVM_LIBC_TYPES_TIMESPEC_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_TIMESPEC_H diff --git a/libc/include/llvm-libc-types/struct_timeval.h b/libc/include/llvm-libc-types/struct_timeval.h index 756feca..6a0b7bb 100644 --- a/libc/include/llvm-libc-types/struct_timeval.h +++ b/libc/include/llvm-libc-types/struct_timeval.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TIMEVAL_H__ -#define __LLVM_LIBC_TYPES_TIMEVAL_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_TIMEVAL_H +#define LLVM_LIBC_TYPES_STRUCT_TIMEVAL_H #include <llvm-libc-types/suseconds_t.h> #include <llvm-libc-types/time_t.h> @@ -17,4 +17,4 @@ struct timeval { suseconds_t tv_usec; // Micro seconds }; -#endif // __LLVM_LIBC_TYPES_TIMEVAL_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_TIMEVAL_H diff --git a/libc/include/llvm-libc-types/struct_tm.h b/libc/include/llvm-libc-types/struct_tm.h index 953e12e..9fef7c5 100644 --- a/libc/include/llvm-libc-types/struct_tm.h +++ b/libc/include/llvm-libc-types/struct_tm.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TM_H__ -#define __LLVM_LIBC_TYPES_TM_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_TM_H +#define LLVM_LIBC_TYPES_STRUCT_TM_H struct tm { int tm_sec; // seconds after the minute @@ -21,4 +21,4 @@ struct tm { int tm_isdst; // Daylight Saving Time flag }; -#endif // __LLVM_LIBC_TYPES_TM_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_TM_H diff --git a/libc/include/llvm-libc-types/struct_utsname.h b/libc/include/llvm-libc-types/struct_utsname.h index bfd1ad9..e474171 100644 --- a/libc/include/llvm-libc-types/struct_utsname.h +++ b/libc/include/llvm-libc-types/struct_utsname.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_STRUCT_UTSNAME_H__ -#define __LLVM_LIBC_TYPES_STRUCT_UTSNAME_H__ +#ifndef LLVM_LIBC_TYPES_STRUCT_UTSNAME_H +#define LLVM_LIBC_TYPES_STRUCT_UTSNAME_H #if defined(__linux__) #define __UTS_NAME_LENGTH 65 @@ -31,4 +31,4 @@ struct utsname { #undef __UTS_NAME_LENGTH -#endif // __LLVM_LIBC_TYPES_STRUCT_UTSNAME_H__ +#endif // LLVM_LIBC_TYPES_STRUCT_UTSNAME_H diff --git a/libc/include/llvm-libc-types/suseconds_t.h b/libc/include/llvm-libc-types/suseconds_t.h index d7298ed..32ecc9f 100644 --- a/libc/include/llvm-libc-types/suseconds_t.h +++ b/libc/include/llvm-libc-types/suseconds_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_SUSECONDS_T_H__ -#define __LLVM_LIBC_TYPES_SUSECONDS_T_H__ +#ifndef LLVM_LIBC_TYPES_SUSECONDS_T_H +#define LLVM_LIBC_TYPES_SUSECONDS_T_H typedef __INT32_TYPE__ suseconds_t; -#endif // __LLVM_LIBC_TYPES_SUSECONDS_T_H__ +#endif // LLVM_LIBC_TYPES_SUSECONDS_T_H diff --git a/libc/include/llvm-libc-types/tcflag_t.h b/libc/include/llvm-libc-types/tcflag_t.h index 7c2ce21..2978487 100644 --- a/libc/include/llvm-libc-types/tcflag_t.h +++ b/libc/include/llvm-libc-types/tcflag_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TCFLAG_T_H__ -#define __LLVM_LIBC_TYPES_TCFLAG_T_H__ +#ifndef LLVM_LIBC_TYPES_TCFLAG_T_H +#define LLVM_LIBC_TYPES_TCFLAG_T_H typedef unsigned int tcflag_t; -#endif // __LLVM_LIBC_TYPES_TCFLAG_T_H__ +#endif // LLVM_LIBC_TYPES_TCFLAG_T_H diff --git a/libc/include/llvm-libc-types/test_rpc_opcodes_t.h b/libc/include/llvm-libc-types/test_rpc_opcodes_t.h index ec4eb26..7129768 100644 --- a/libc/include/llvm-libc-types/test_rpc_opcodes_t.h +++ b/libc/include/llvm-libc-types/test_rpc_opcodes_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TEST_RPC_OPCODE_H__ -#define __LLVM_LIBC_TYPES_TEST_RPC_OPCODE_H__ +#ifndef LLVM_LIBC_TYPES_TEST_RPC_OPCODES_T_H +#define LLVM_LIBC_TYPES_TEST_RPC_OPCODES_T_H // We consider the first 32768 opcodes as reserved for libc purposes. We allow // extensions to use any other number without conflicting with anything else. @@ -18,4 +18,4 @@ typedef enum : unsigned short { RPC_TEST_STREAM, } rpc_test_opcode_t; -#endif // __LLVM_LIBC_TYPES_TEST_RPC_OPCODE_H__ +#endif // LLVM_LIBC_TYPES_TEST_RPC_OPCODES_T_H diff --git a/libc/include/llvm-libc-types/thrd_start_t.h b/libc/include/llvm-libc-types/thrd_start_t.h index 83fc32c..1fb21bc 100644 --- a/libc/include/llvm-libc-types/thrd_start_t.h +++ b/libc/include/llvm-libc-types/thrd_start_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_THRD_START_T_H__ -#define __LLVM_LIBC_TYPES_THRD_START_T_H__ +#ifndef LLVM_LIBC_TYPES_THRD_START_T_H +#define LLVM_LIBC_TYPES_THRD_START_T_H typedef int (*thrd_start_t)(void *); -#endif // __LLVM_LIBC_TYPES_THRD_START_T_H__ +#endif // LLVM_LIBC_TYPES_THRD_START_T_H diff --git a/libc/include/llvm-libc-types/thrd_t.h b/libc/include/llvm-libc-types/thrd_t.h index 0743106..2e0f9a0 100644 --- a/libc/include/llvm-libc-types/thrd_t.h +++ b/libc/include/llvm-libc-types/thrd_t.h @@ -6,11 +6,11 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_THRD_T_H__ -#define __LLVM_LIBC_TYPES_THRD_T_H__ +#ifndef LLVM_LIBC_TYPES_THRD_T_H +#define LLVM_LIBC_TYPES_THRD_T_H #include <llvm-libc-types/__thread_type.h> typedef __thread_type thrd_t; -#endif // __LLVM_LIBC_TYPES_THRD_T_H__ +#endif // LLVM_LIBC_TYPES_THRD_T_H diff --git a/libc/include/llvm-libc-types/time_t.h b/libc/include/llvm-libc-types/time_t.h index 2b3ccd4..59953b3 100644 --- a/libc/include/llvm-libc-types/time_t.h +++ b/libc/include/llvm-libc-types/time_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TIME_T_H__ -#define __LLVM_LIBC_TYPES_TIME_T_H__ +#ifndef LLVM_LIBC_TYPES_TIME_T_H +#define LLVM_LIBC_TYPES_TIME_T_H #if (defined(__arm__) || defined(_M_ARM)) typedef __INTPTR_TYPE__ time_t; @@ -15,4 +15,4 @@ typedef __INTPTR_TYPE__ time_t; typedef __INT64_TYPE__ time_t; #endif -#endif // __LLVM_LIBC_TYPES_TIME_T_H__ +#endif // LLVM_LIBC_TYPES_TIME_T_H diff --git a/libc/include/llvm-libc-types/tss_dtor_t.h b/libc/include/llvm-libc-types/tss_dtor_t.h index f80661b..c54b34e 100644 --- a/libc/include/llvm-libc-types/tss_dtor_t.h +++ b/libc/include/llvm-libc-types/tss_dtor_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TSS_DTOR_T_H__ -#define __LLVM_LIBC_TYPES_TSS_DTOR_T_H__ +#ifndef LLVM_LIBC_TYPES_TSS_DTOR_T_H +#define LLVM_LIBC_TYPES_TSS_DTOR_T_H typedef void (*tss_dtor_t)(void *); -#endif // __LLVM_LIBC_TYPES_TSS_DTOR_T_H__ +#endif // LLVM_LIBC_TYPES_TSS_DTOR_T_H diff --git a/libc/include/llvm-libc-types/tss_t.h b/libc/include/llvm-libc-types/tss_t.h index 868ec1a..92bc7ef 100644 --- a/libc/include/llvm-libc-types/tss_t.h +++ b/libc/include/llvm-libc-types/tss_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_TSS_T_H__ -#define __LLVM_LIBC_TYPES_TSS_T_H__ +#ifndef LLVM_LIBC_TYPES_TSS_T_H +#define LLVM_LIBC_TYPES_TSS_T_H typedef unsigned int tss_t; -#endif // __LLVM_LIBC_TYPES_TSS_T_H__ +#endif // LLVM_LIBC_TYPES_TSS_T_H diff --git a/libc/include/llvm-libc-types/uid_t.h b/libc/include/llvm-libc-types/uid_t.h index ae9fac2..4f6c647 100644 --- a/libc/include/llvm-libc-types/uid_t.h +++ b/libc/include/llvm-libc-types/uid_t.h @@ -6,9 +6,9 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_UID_T_H__ -#define __LLVM_LIBC_TYPES_UID_T_H__ +#ifndef LLVM_LIBC_TYPES_UID_T_H +#define LLVM_LIBC_TYPES_UID_T_H typedef __UINT32_TYPE__ uid_t; -#endif // __LLVM_LIBC_TYPES_UID_T_H__ +#endif // LLVM_LIBC_TYPES_UID_T_H diff --git a/libc/include/llvm-libc-types/union_sigval.h b/libc/include/llvm-libc-types/union_sigval.h index ccc9f2e..5f83cd2 100644 --- a/libc/include/llvm-libc-types/union_sigval.h +++ b/libc/include/llvm-libc-types/union_sigval.h @@ -6,12 +6,12 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_UNION_SIGVAL_H__ -#define __LLVM_LIBC_TYPES_UNION_SIGVAL_H__ +#ifndef LLVM_LIBC_TYPES_UNION_SIGVAL_H +#define LLVM_LIBC_TYPES_UNION_SIGVAL_H union sigval { int sival_int; void *sival_ptr; }; -#endif // __LLVM_LIBC_TYPES_UNION_SIGVAL_H__ +#endif // LLVM_LIBC_TYPES_UNION_SIGVAL_H diff --git a/libc/include/llvm-libc-types/wchar_t.h b/libc/include/llvm-libc-types/wchar_t.h index 9efb5cd..3e9a70b 100644 --- a/libc/include/llvm-libc-types/wchar_t.h +++ b/libc/include/llvm-libc-types/wchar_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_WCHAR_T_H__ -#define __LLVM_LIBC_TYPES_WCHAR_T_H__ +#ifndef LLVM_LIBC_TYPES_WCHAR_T_H +#define LLVM_LIBC_TYPES_WCHAR_T_H // Since __need_wchar_t is defined, we get the definition of wchar_t from the // standalone C header stddef.h. Also, because __need_wchar_t is defined, @@ -16,4 +16,4 @@ #include <stddef.h> #undef __need_wchar_t -#endif // __LLVM_LIBC_TYPES_WCHAR_T_H__ +#endif // LLVM_LIBC_TYPES_WCHAR_T_H diff --git a/libc/include/llvm-libc-types/wint_t.h b/libc/include/llvm-libc-types/wint_t.h index cf6ccd7..2758685 100644 --- a/libc/include/llvm-libc-types/wint_t.h +++ b/libc/include/llvm-libc-types/wint_t.h @@ -6,8 +6,8 @@ // //===----------------------------------------------------------------------===// -#ifndef __LLVM_LIBC_TYPES_WINT_T_H__ -#define __LLVM_LIBC_TYPES_WINT_T_H__ +#ifndef LLVM_LIBC_TYPES_WINT_T_H +#define LLVM_LIBC_TYPES_WINT_T_H // Since __need_wint_t is defined, we get the definition of wint_t from the // standalone C header stddef.h. Also, because __need_wint_t is defined, @@ -16,4 +16,4 @@ #include <stddef.h> #undef __need_wint_t -#endif // __LLVM_LIBC_TYPES_WINT_T_H__ +#endif // LLVM_LIBC_TYPES_WINT_T_H |