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