summaryrefslogtreecommitdiff
path: root/libc/src/stdlib/at_quick_exit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdlib/at_quick_exit.cpp')
-rw-r--r--libc/src/stdlib/at_quick_exit.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/stdlib/at_quick_exit.cpp b/libc/src/stdlib/at_quick_exit.cpp
index 752d67e7fe44..7acae8c52def 100644
--- a/libc/src/stdlib/at_quick_exit.cpp
+++ b/libc/src/stdlib/at_quick_exit.cpp
@@ -9,9 +9,10 @@
#include "src/stdlib/at_quick_exit.h"
#include "hdr/types/atexithandler_t.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
#include "src/stdlib/exit_handler.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, at_quick_exit, (__atexithandler_t callback)) {
return add_atexit_unit(
@@ -19,4 +20,4 @@ LLVM_LIBC_FUNCTION(int, at_quick_exit, (__atexithandler_t callback)) {
{&stdc_at_exit_func, reinterpret_cast<void *>(callback)});
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL