aboutsummaryrefslogtreecommitdiff
path: root/libc/src/stdlib/rand.cpp
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2024-07-12 09:12:13 +0200
committerGitHub <noreply@github.com>2024-07-12 09:12:13 +0200
commitce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3 (patch)
tree0f22897d7f178d7b3850db2397b4b59698336d26 /libc/src/stdlib/rand.cpp
parent37d3f44a58d0a2a2e8782266acd66a6733984842 (diff)
downloadllvm-ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3.zip
llvm-ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3.tar.gz
llvm-ce9035f5bd3aa09cbd899489cdbc7f6c18acf1e3.tar.bz2
Revert "[libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration" (#98593)
Reverts llvm/llvm-project#98075 bots are broken
Diffstat (limited to 'libc/src/stdlib/rand.cpp')
-rw-r--r--libc/src/stdlib/rand.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/src/stdlib/rand.cpp b/libc/src/stdlib/rand.cpp
index 1931727e..ff3875c 100644
--- a/libc/src/stdlib/rand.cpp
+++ b/libc/src/stdlib/rand.cpp
@@ -8,11 +8,10 @@
#include "src/stdlib/rand.h"
#include "src/__support/common.h"
-#include "src/__support/macros/config.h"
#include "src/__support/threads/sleep.h"
#include "src/stdlib/rand_util.h"
-namespace LIBC_NAMESPACE_DECL {
+namespace LIBC_NAMESPACE {
// An implementation of the xorshift64star pseudo random number generator. This
// is a good general purpose generator for most non-cryptographics applications.
@@ -30,4 +29,4 @@ LLVM_LIBC_FUNCTION(int, rand, (void)) {
}
}
-} // namespace LIBC_NAMESPACE_DECL
+} // namespace LIBC_NAMESPACE