mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Per-C++ specs main
shouldn't be declared with C language linkage
PiperOrigin-RevId: 429025497 Change-Id: I7f732f4e42b64463847e192c6ca5cff820ab19ba
This commit is contained in:
parent
1dedbb9650
commit
d2dfcf0800
|
@ -413,7 +413,7 @@ void ServeRequest(sandbox2::Comms* comms) {
|
|||
} // namespace client
|
||||
} // namespace sapi
|
||||
|
||||
extern "C" ABSL_ATTRIBUTE_WEAK int main(int argc, char** argv) {
|
||||
ABSL_ATTRIBUTE_WEAK int main(int argc, char* argv[]) {
|
||||
gflags::SetCommandLineOptionWithMode("userspace_coredumper", "false",
|
||||
gflags::SET_FLAG_IF_DEFAULT);
|
||||
gflags::ParseCommandLineFlags(&argc, &argv, true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user