diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2023-09-26 11:45:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-26 11:45:04 +0200 |
| commit | b6bc9d72f65a5086f310f321e969d96e9a559e75 (patch) | |
| tree | 1e9a9f8c36c9dfc0106507f7b7a0055af83c4a07 /libc/src/sys/resource/linux/setrlimit.cpp | |
| parent | 7675f541f75baa20e8ec007cd625a837e89fc01f (diff) | |
[libc] Mass replace enclosing namespace (#67032)
This is step 4 of
https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079
Diffstat (limited to 'libc/src/sys/resource/linux/setrlimit.cpp')
| -rw-r--r-- | libc/src/sys/resource/linux/setrlimit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/src/sys/resource/linux/setrlimit.cpp b/libc/src/sys/resource/linux/setrlimit.cpp index 6bbe50a49b3d..069276386234 100644 --- a/libc/src/sys/resource/linux/setrlimit.cpp +++ b/libc/src/sys/resource/linux/setrlimit.cpp @@ -15,11 +15,11 @@ #include <sys/resource.h> // For struct rlimit #include <sys/syscall.h> // For syscall numbers. -namespace __llvm_libc { +namespace LIBC_NAMESPACE { LLVM_LIBC_FUNCTION(int, setrlimit, (int res, const struct rlimit *limits)) { int ret = - __llvm_libc::syscall_impl<int>(SYS_prlimit64, 0, res, limits, nullptr); + LIBC_NAMESPACE::syscall_impl<int>(SYS_prlimit64, 0, res, limits, nullptr); if (ret < 0) { libc_errno = -ret; return -1; @@ -27,4 +27,4 @@ LLVM_LIBC_FUNCTION(int, setrlimit, (int res, const struct rlimit *limits)) { return 0; } -} // namespace __llvm_libc +} // namespace LIBC_NAMESPACE |
