summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/logbf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/generic/logbf.cpp')
-rw-r--r--libc/src/math/generic/logbf.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/generic/logbf.cpp b/libc/src/math/generic/logbf.cpp
index 9f9f7fbcfbb8..0dc0251afe29 100644
--- a/libc/src/math/generic/logbf.cpp
+++ b/libc/src/math/generic/logbf.cpp
@@ -9,9 +9,10 @@
#include "src/math/logbf.h"
#include "src/__support/FPUtil/ManipulationFunctions.h"
#include "src/__support/common.h"
+#include "src/__support/macros/config.h"
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(float, logbf, (float x)) { return fputil::logb(x); }
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL