File tree Expand file tree Collapse file tree 32 files changed +69
-68
lines changed Expand file tree Collapse file tree 32 files changed +69
-68
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ add_entrypoint_object(
5959 DEPENDS
6060 libc.hdr.types.FILE
6161 libc.src.__support.RPC.rpc_client
62+ .gpu_file
6263)
6364
6465add_entrypoint_object(
@@ -70,6 +71,7 @@ add_entrypoint_object(
7071 DEPENDS
7172 libc.hdr.types.FILE
7273 libc.src.__support.RPC.rpc_client
74+ .gpu_file
7375)
7476
7577add_entrypoint_object(
@@ -114,6 +116,7 @@ add_entrypoint_object(
114116 DEPENDS
115117 libc.hdr.types.FILE
116118 libc.src.__support.RPC.rpc_client
119+ .gpu_file
117120)
118121
119122add_entrypoint_object(
@@ -124,6 +127,7 @@ add_entrypoint_object(
124127 ../fopen.h
125128 DEPENDS
126129 libc.hdr.types.FILE
130+ .gpu_file
127131)
128132
129133add_entrypoint_object(
@@ -134,6 +138,8 @@ add_entrypoint_object(
134138 ../fclose.h
135139 DEPENDS
136140 libc.hdr.types.FILE
141+ libc.hdr.stdio_macros
142+ .gpu_file
137143)
138144
139145add_entrypoint_object(
@@ -144,6 +150,7 @@ add_entrypoint_object(
144150 ../fread.h
145151 DEPENDS
146152 libc.hdr.types.FILE
153+ .gpu_file
147154)
148155
149156add_entrypoint_object(
@@ -254,8 +261,6 @@ add_entrypoint_object(
254261 DEPENDS
255262 libc.hdr.types.FILE
256263 .gpu_file
257- .feof
258- .ferror
259264)
260265
261266add_entrypoint_object(
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/clearerr.h"
10- #include " file.h"
11- #include " src/__support/macros/config.h"
1210
11+ #include " file.h"
1312#include " hdr/types/FILE.h"
13+ #include " src/__support/common.h"
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/fclose.h"
10- #include " src/__support/macros/config.h"
11- #include " src/stdio/gpu/file.h"
1210
1311#include " hdr/stdio_macros.h"
1412#include " hdr/types/FILE.h"
13+ #include " src/__support/common.h"
14+ #include " src/stdio/gpu/file.h"
1515
1616namespace LIBC_NAMESPACE_DECL {
1717
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/feof.h"
10- #include " file.h"
11- #include " src/__support/macros/config.h"
1210
11+ #include " file.h"
1312#include " hdr/types/FILE.h"
13+ #include " src/__support/common.h"
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/ferror.h"
10- #include " file.h"
11- #include " src/__support/macros/config.h"
1210
11+ #include " file.h"
1312#include " hdr/types/FILE.h"
13+ #include " src/__support/common.h"
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/fflush.h"
10- #include " file.h"
11- #include " src/__support/macros/config.h"
1210
11+ #include " file.h"
1312#include " hdr/types/FILE.h"
13+ #include " src/__support/common.h"
1414
1515namespace LIBC_NAMESPACE_DECL {
1616
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/fgetc.h"
10- #include " file.h"
11- #include " src/__support/macros/config.h"
1210
11+ #include " file.h"
1312#include " hdr/stdio_macros.h" // for EOF.
1413#include " hdr/types/FILE.h"
14+ #include " src/__support/common.h"
1515
1616namespace LIBC_NAMESPACE_DECL {
1717
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/fgets.h"
10- #include " file.h"
11- #include " src/__support/macros/config.h"
12- #include " src/stdio/feof.h"
13- #include " src/stdio/ferror.h"
1410
11+ #include " file.h"
1512#include " hdr/stdio_macros.h" // for EOF.
1613#include " hdr/types/FILE.h"
17- #include < stddef.h>
14+ #include " src/__support/common.h"
15+
16+ #include < stdint.h>
1817
1918namespace LIBC_NAMESPACE_DECL {
2019
Original file line number Diff line number Diff line change 66//
77// ===----------------------------------------------------------------------===//
88
9+ #include " hdr/stdio_macros.h" // For stdin/out/err
10+ #include " hdr/types/FILE.h"
911#include " src/__support/RPC/rpc_client.h"
1012#include " src/__support/common.h"
1113#include " src/__support/macros/attributes.h"
12- #include " src/__support/macros/config.h"
13- #include " src/string/string_utils.h"
14-
15- #include " hdr/stdio_macros.h" // For stdin/out/err
16- #include " hdr/types/FILE.h"
1714
1815namespace LIBC_NAMESPACE_DECL {
1916namespace file {
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " src/stdio/fopen.h"
10- #include " src/__support/CPP/string_view.h"
11- #include " src/__support/macros/config.h"
12- #include " src/stdio/gpu/file.h"
1310
1411#include " hdr/types/FILE.h"
12+ #include " src/__support/common.h"
13+ #include " src/stdio/gpu/file.h"
1514#include " src/string/memory_utils/inline_memcpy.h"
15+ #include " src/string/string_utils.h"
1616
1717namespace LIBC_NAMESPACE_DECL {
1818
You can’t perform that action at this time.
0 commit comments