mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 18:53:34 +08:00
systemcmds: convert c -> c++
This commit is contained in:
@@ -135,7 +135,7 @@ static int mtd_status(void)
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void print_usage(void)
|
||||
static void print_usage()
|
||||
{
|
||||
#if !defined(CONSTRAINED_FLASH)
|
||||
|
||||
@@ -304,7 +304,7 @@ int mtd_rwtest(const mtd_instance_s &instance)
|
||||
int mtd_main(int argc, char *argv[])
|
||||
{
|
||||
int myoptind = 1;
|
||||
const char *myoptarg = NULL;
|
||||
const char *myoptarg = nullptr;
|
||||
int ch;
|
||||
int instance = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user