mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 04:06:06 +00:00

so that docgen can find our definitions. Also eliminate the enums. POSIX is careful to call these "symbolic constants" rather than specifically whether they are preprocessor macro defines or not. Enums are useful to expressing mutual exclusion when the enum values are in distinct enums which can improve type safety. Our enum values weren't using that pattern though; they were all in one big anonymous enum. Link: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/pthread.h.html Fixes: #88997
18 lines
551 B
Modula-2
18 lines
551 B
Modula-2
//===-- POSIX header pthread.h --------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_PTHREAD_H
|
|
#define LLVM_LIBC_PTHREAD_H
|
|
|
|
#include "__llvm-libc-common.h"
|
|
#include "llvm-libc-macros/pthread-macros.h"
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_PTHREAD_H
|