Skip to content

Commit

Permalink
Fix precommit run
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjanyardi committed Jan 8, 2025
1 parent 56ca377 commit 46a7ed7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cobalt/build/configs/linux-x64x11-evergreen/args.gn
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ use_custom_libc = true

# ../../base/allocator/partition_allocator/pkey.cc:35:18: error: use of undeclared identifier 'SYS_pkey_mprotect'
# return syscall(SYS_pkey_mprotect, addr, len, prot, pkey);
enable_pkeys = false
enable_pkeys = false
4 changes: 2 additions & 2 deletions starboard/build/config/modular/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ config("modular") {
"-fno-delete-null-pointer-checks",

# ../../third_party/perfetto/src/base/unix_socket.cc:555:17: error: comparison of integers of different signs: 'unsigned long' and 'long' [-Werror,-Wsign-compare]
# cmsg = CMSG_NXTHDR(&msg_hdr, cmsg)) {
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~
# cmsg = CMSG_NXTHDR(&msg_hdr, cmsg)) {
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~
"-Wno-sign-compare",
]
}
Expand Down
7 changes: 2 additions & 5 deletions starboard/common/condition_variable.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,8 @@ class ConditionVariable {
};

} // namespace starboard
}

}

#endif //__cplusplus
#endif //__cplusplus

#endif // STARBOARD_COMMON_CONDITION_VARIABLE_H_


7 changes: 2 additions & 5 deletions starboard/common/mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

extern "C++" {


namespace starboard {

// Inline class wrapper for mutex.
Expand Down Expand Up @@ -92,10 +91,8 @@ class ScopedTryLock {
};

} // namespace starboard
}

}

#endif //__cplusplus
#endif //__cplusplus

#endif // STARBOARD_COMMON_MUTEX_H_

0 comments on commit 46a7ed7

Please sign in to comment.