File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -267,5 +267,5 @@ def SearchAPI : PublicAPI<"search.h"> {
267
267
}
268
268
269
269
def SysStatvfsAPI : PublicAPI<"sys/statvfs.h"> {
270
- let Types = ["fsblkcnt_t", "fsfilcnt_t", " struct statvfs"];
270
+ let Types = ["struct statvfs"];
271
271
}
Original file line number Diff line number Diff line change @@ -45,8 +45,7 @@ set(TARGET_PUBLIC_HEADERS
45
45
libc.include.sys_select
46
46
libc.include.sys_socket
47
47
libc.include.sys_stat
48
- # statvfs is broken, will uncomment once it's fixed.
49
- # libc.include.sys_statvfs
48
+ libc.include.sys_statvfs
50
49
libc.include.sys_syscall
51
50
libc.include.sys_time
52
51
libc.include.sys_types
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ header: sys-statvfs.h
2
2
macros : []
3
3
types :
4
4
- type_name : struct_statvfs
5
+ - type_name : fsblkcnt_t
6
+ - type_name : fsfilcnt_t
5
7
enums : []
6
8
objects : []
7
9
functions :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ add_header_library(
8
8
libc.src.__support.common
9
9
libc.src.__support.CPP.optional
10
10
libc.include.sys_syscall
11
- libc.include.llvm-libc-types.struct_statvfs
11
+ libc.include.sys_statvfs
12
12
)
13
13
14
14
add_entrypoint_object (
@@ -19,7 +19,7 @@ add_entrypoint_object(
19
19
../statvfs.h
20
20
DEPENDS
21
21
libc.src.__support.libc_assert
22
- libc.include.llvm-libc-types.struct_statvfs
22
+ libc.include.sys_statvfs
23
23
.statfs_utils
24
24
)
25
25
@@ -31,7 +31,7 @@ add_entrypoint_object(
31
31
../fstatvfs.h
32
32
DEPENDS
33
33
libc.src.__support.libc_assert
34
- libc.include.llvm-libc-types.struct_statvfs
34
+ libc.include.sys_statvfs
35
35
.statfs_utils
36
36
)
37
37
You can’t perform that action at this time.
0 commit comments