Skip to content

Commit ca1a3e9

Browse files
committed
Remove unnecessary struct qualifier.
1 parent af9df0c commit ca1a3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/src/fcntl/fcntl_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class LibcFcntlCommonLockTests : public LlvmLibcFcntlTest {
173173
LIBC_NAMESPACE::open(TEST_FILE, O_CREAT | O_TRUNC | O_RDWR, S_IRWXU);
174174
ASSERT_THAT(LIBC_NAMESPACE::close(fd), Succeeds(0));
175175

176-
struct flock flk = {};
176+
flock flk = {};
177177
flk.l_type = F_RDLCK;
178178
flk.l_start = 0;
179179
flk.l_whence = SEEK_SET;

0 commit comments

Comments
 (0)