Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / src / signal / signal.h
blob15bb5f01232eee831447ed24d609d7a4a4f44fc2
1 //===-- Implementation header for signal ------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_SRC_SIGNAL_SIGNAL_H
10 #define LLVM_LIBC_SRC_SIGNAL_SIGNAL_H
12 #include <signal.h>
14 namespace LIBC_NAMESPACE {
16 using sighandler_t = __sighandler_t;
18 sighandler_t signal(int signum, sighandler_t handler);
20 } // namespace LIBC_NAMESPACE
22 #endif // LLVM_LIBC_SRC_SIGNAL_SIGNAL_H