Skip to content

Commit 0f7bada

Browse files
author
Job Hernandez
committed
add _Exit declaration
1 parent be64ca9 commit 0f7bada

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libc/hdr/func/_Exit.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
#define LLVM_LIBC_HDR_FUNC_EXIT_H
1111

1212
#ifdef LIBC_FULL_BUILD
13-
// We will use the `_Exit` declaration from our generated stdlib.h
14-
#include <stdlib.h>
13+
extern "C" [[noreturn]] void _Exit(int) noexcept;
1514

1615
#else // Overlay mode
1716

0 commit comments

Comments
 (0)