clang-tidy modernize-redundant-void-arg

This commit is contained in:
Daniel Agar
2017-02-01 22:15:50 -05:00
parent e927f3e040
commit 6631e72d6f
33 changed files with 126 additions and 124 deletions
@@ -193,7 +193,7 @@ namespace
ADCSIM *g_adc;
int
test(void)
test()
{
DevHandle h;
DevMgr::getHandle(ADCSIM0_DEVICE_PATH, h);
@@ -133,7 +133,7 @@ private:
/**
* Worker task: main GPS thread that configures the GPS and parses incoming data, always running
*/
void task_main(void);
void task_main();
/**
* Set the baudrate of the UART to the GPS
+2 -2
View File
@@ -56,7 +56,7 @@
namespace px4
{
void init_once(void);
void init_once();
}
using namespace std;
@@ -260,7 +260,7 @@ static void process_line(string &line, bool exit_on_fail)
run_cmd(appargs, exit_on_fail);
}
static void restore_term(void)
static void restore_term()
{
cout << "Restoring terminal\n";
tcsetattr(0, TCSANOW, &orig_term);
@@ -67,9 +67,9 @@ __END_DECLS
namespace px4
{
void init_once(void);
void init_once();
void init_once(void)
void init_once()
{
_shell_task_id = pthread_self();
//printf("[init] shell id: %lu\n", (unsigned long)_shell_task_id);