From: Paula Toth Date: Wed, 26 Feb 2020 20:15:26 +0000 (-0800) Subject: [libc] Fix typo of namespace in round implementation. X-Git-Url: https://git.jankratochvil.net/?p=lldb.git;a=commitdiff_plain;h=52073310e443a206653f8f4c841f42ed88ab549b [libc] Fix typo of namespace in round implementation. Summary: Fixed typos in namespace declarations and comments in the files under `src/math/round`. Reviewers: sivachandra, abrachet Reviewed By: sivachandra, abrachet Subscribers: MaskRay, tschuett, libc-commits Tags: #libc-project Differential Revision: https://reviews.llvm.org/D75205 --- diff --git a/libc/src/math/round/round.cpp b/libc/src/math/round/round.cpp index 7352b98..26eeadb 100644 --- a/libc/src/math/round/round.cpp +++ b/libc/src/math/round/round.cpp @@ -10,7 +10,7 @@ #include "src/__support/common.h" -namespace llvm_libc { +namespace __llvm_libc { double __round_redirector(double x); @@ -18,4 +18,4 @@ double LLVM_LIBC_ENTRYPOINT(round)(double x) { return __round_redirector(x); } -} // namespace llvm_libc +} // namespace __llvm_libc diff --git a/libc/src/math/round/round.h b/libc/src/math/round/round.h index c13eccc..99f890b 100644 --- a/libc/src/math/round/round.h +++ b/libc/src/math/round/round.h @@ -9,10 +9,10 @@ #ifndef LLVM_LIBC_SRC_MATH_ROUND_H #define LLVM_LIBC_SRC_MATH_ROUND_H -namespace llvm_libc { +namespace __llvm_libc { double round(double x); -} // namespace llvm_libc +} // namespace __llvm_libc #endif // LLVM_LIBC_SRC_MATH_ROUND_H diff --git a/libc/src/math/round/round_redirector.cpp b/libc/src/math/round/round_redirector.cpp index 8d37b08..6ee0744 100644 --- a/libc/src/math/round/round_redirector.cpp +++ b/libc/src/math/round/round_redirector.cpp @@ -8,10 +8,10 @@ #include -namespace llvm_libc { +namespace __llvm_libc { double __round_redirector(double x) { return ::round(x); } -} // namespace llvm_libc +} // namespace __llvm_libc