summaryrefslogtreecommitdiff
path: root/libc/src/math/generic/modff16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/generic/modff16.cpp')
-rw-r--r--libc/src/math/generic/modff16.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/math/generic/modff16.cpp b/libc/src/math/generic/modff16.cpp
index 50cc5b5783ad..853fc55e26ba 100644
--- a/libc/src/math/generic/modff16.cpp
+++ b/libc/src/math/generic/modff16.cpp
@@ -9,11 +9,12 @@
#include "src/math/modff16.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(float16, modff16, (float16 x, float16 *iptr)) {
return fputil::modf(x, *iptr);
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL