summaryrefslogtreecommitdiff
path: root/libc/src/stdio/fscanf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/stdio/fscanf.cpp')
-rw-r--r--libc/src/stdio/fscanf.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/src/stdio/fscanf.cpp b/libc/src/stdio/fscanf.cpp
index 1f99f873c070..94b843978749 100644
--- a/libc/src/stdio/fscanf.cpp
+++ b/libc/src/stdio/fscanf.cpp
@@ -10,12 +10,13 @@
#include "src/__support/File/file.h"
#include "src/__support/arg_list.h"
+#include "src/__support/macros/config.h"
#include "src/stdio/scanf_core/vfscanf_internal.h"
#include "hdr/types/FILE.h"
#include <stdarg.h>
-namespace LIBC_NAMESPACE {
+namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, fscanf,
(::FILE *__restrict stream, const char *__restrict format,
@@ -32,4 +33,4 @@ LLVM_LIBC_FUNCTION(int, fscanf,
return (ret_val == -1) ? EOF : ret_val;
}
-} // namespace LIBC_NAMESPACE
+} // namespace LIBC_NAMESPACE_DECL