Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Jun 12, 2023
1 parent ae1663f commit 444d37b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/address_resolve/tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ bool Cmd_Node(int argc, const char ** argv)
return true;
}

void StopSignalHandler(int signal)
extern "C" void StopSignalHandler(int signal)
{
DeviceLayer::PlatformMgr().StopEventLoopTask();
}
Expand All @@ -168,7 +168,8 @@ extern "C" int main(int argc, const char ** argv)
fputs(sHelp, stdout);
return 0;
}
else if (strcasecmp(argv[0], "--trace-to") == 0)

if (strcasecmp(argv[0], "--trace-to") == 0)
{
if (argc > 1)
{
Expand Down

0 comments on commit 444d37b

Please sign in to comment.