aboutsummaryrefslogtreecommitdiff
path: root/libc/src/stdio/setbuf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdio/setbuf.cpp')
-rw-r--r--libc/src/stdio/setbuf.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/src/stdio/setbuf.cpp b/libc/src/stdio/setbuf.cpp
index cb30fe3..8819901 100644
--- a/libc/src/stdio/setbuf.cpp
+++ b/libc/src/stdio/setbuf.cpp
@@ -12,17 +12,17 @@
#include "src/errno/libc_errno.h"
#include <stdio.h>
-namespace __llvm_libc {
+namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(void, setbuf,
(::FILE *__restrict stream, char *__restrict buf)) {
int mode = _IOFBF;
if (buf == nullptr)
mode = _IONBF;
- int err = reinterpret_cast<__llvm_libc::File *>(stream)->set_buffer(
+ int err = reinterpret_cast<LIBC_NAMESPACE::File *>(stream)->set_buffer(
buf, BUFSIZ, mode);
if (err != 0)
libc_errno = err;
}
-} // namespace __llvm_libc
+} // namespace LIBC_NAMESPACE