diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-04-20 11:46:49 -0700 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2020-04-21 10:53:53 +0200 |
commit | 9c3d3fde6b5c5102293edbb25d1f4a73d39dc04e (patch) | |
tree | 9a09e04e48f7b43655c1816c01eabcfb4efac5db /utils/rds-ctl/rds-ctl.cpp | |
parent | 08fc5f99998e324b8b851caa4f82d432e1463187 (diff) |
utils: do not use empty void with C++
Found with clang-tidy's modernize-redundant-void-arg
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/rds-ctl/rds-ctl.cpp')
-rw-r--r-- | utils/rds-ctl/rds-ctl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/rds-ctl/rds-ctl.cpp b/utils/rds-ctl/rds-ctl.cpp index fef2a3f1..0511fe5d 100644 --- a/utils/rds-ctl/rds-ctl.cpp +++ b/utils/rds-ctl/rds-ctl.cpp @@ -108,12 +108,12 @@ static struct option long_options[] = { {0, 0, 0, 0} }; -static void usage_hint(void) +static void usage_hint() { fprintf(stderr, "Try 'rds-ctl --help' for more information.\n"); } -static void usage_common(void) +static void usage_common() { printf("\nGeneral/Common options:\n" " --all display all device information available\n" @@ -127,7 +127,7 @@ static void usage_common(void) ); } -static void usage_tuner(void) +static void usage_tuner() { printf("\nTuner/Modulator options:\n" " -F, --get-freq query the frequency [VIDIOC_G_FREQUENCY]\n" @@ -145,7 +145,7 @@ static void usage_tuner(void) ); } -static void usage_rds(void) +static void usage_rds() { printf("\nRDS options: \n" " -b, --rbds parse the RDS data according to the RBDS standard\n" @@ -164,7 +164,7 @@ static void usage_rds(void) ); } -static void usage(void) +static void usage() { printf("Usage:\n"); usage_common(); @@ -326,7 +326,7 @@ static void print_devices(dev_vec files) printf("%s\n", iter->second.c_str()); } } -static dev_vec list_devices(void) +static dev_vec list_devices() { DIR *dp; struct dirent *ep; |