summaryrefslogtreecommitdiff
path: root/libc/src/string/strsignal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/string/strsignal.cpp')
-rw-r--r--libc/src/string/strsignal.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/string/strsignal.cpp b/libc/src/string/strsignal.cpp
index f6ca0bcdad8d..a3206a5d1cff 100644
--- a/libc/src/string/strsignal.cpp
+++ b/libc/src/string/strsignal.cpp
@@ -10,11 +10,12 @@
#include "src/string/strsignal.h"
#include "src/__support/StringUtil/signal_to_string.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(char *, strsignal, (int sig_num)) {
return const_cast<char *>(get_signal_string(sig_num).data());
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL