aboutsummaryrefslogtreecommitdiff
path: root/libc/src/stdio/setvbuf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdio/setvbuf.cpp')
-rw-r--r--libc/src/stdio/setvbuf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/src/stdio/setvbuf.cpp b/libc/src/stdio/setvbuf.cpp
index 9080c55..5fdaebc 100644
--- a/libc/src/stdio/setvbuf.cpp
+++ b/libc/src/stdio/setvbuf.cpp
@@ -12,16 +12,16 @@
#include "src/errno/libc_errno.h"
#include <stdio.h>
-namespace __llvm_libc {
+namespace LIBC_NAMESPACE {
LLVM_LIBC_FUNCTION(int, setvbuf,
(::FILE *__restrict stream, char *__restrict buf, int type,
size_t size)) {
- int err = reinterpret_cast<__llvm_libc::File *>(stream)->set_buffer(buf, size,
- type);
+ int err = reinterpret_cast<LIBC_NAMESPACE::File *>(stream)->set_buffer(
+ buf, size, type);
if (err != 0)
libc_errno = err;
return err;
}
-} // namespace __llvm_libc
+} // namespace LIBC_NAMESPACE