summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/exp2f.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/generic/exp2f.cpp')
-rw-r--r--libc/src/math/generic/exp2f.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/generic/exp2f.cpp b/libc/src/math/generic/exp2f.cpp
index e6cb9383dfa2..60d6510f2369 100644
--- a/libc/src/math/generic/exp2f.cpp
+++ b/libc/src/math/generic/exp2f.cpp
@@ -8,10 +8,11 @@
#include "src/math/exp2f.h"
#include "src/__support/common.h" // for LLVM_LIBC_FUNCTION
+#include "src/__support/macros/config.h"
#include "src/math/generic/exp2f_impl.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(float, exp2f, (float x)) { return generic::exp2f(x); }
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL