[libc-commits] [libc] [libc] add statvfs/fstatvfs (PR #86169)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Mar 25 09:36:04 PDT 2024
================
@@ -17,7 +17,7 @@ static int statfs(const char *path, struct statfs *buf) {
} // namespace LIBC_NAMESPACE
TEST(LlvmLibcSysStatfsTest, StatfsBasic) {
- statfs buf[1];
+ struct statfs buf[1];
----------------
nickdesaulniers wrote:
Why remove `struct` from the parameter list, but not the local defintions? Be consistent (by retaining the `struct` keyword in the parameter list).
https://github.com/llvm/llvm-project/pull/86169
More information about the libc-commits
mailing list