Commit 2b360805 by Tobin C. Harding

cmd: Use 'void' instead of empty parameter list

checkpatch warns because of function definitions using empty parameter list. We should define these functions with 'void' as the parameter. Use 'void' instead of empty parameter list for function definitions. Signed-off-by: 's avatarTobin C. Harding <me@tobin.cc>
parent e8fcdf3d
......@@ -473,13 +473,13 @@ static void print_usage(const struct option longopts[])
exit(0);
}
static void print_version()
static void print_version(void)
{
printf("%s\n", LXC_VERSION);
exit(0);
}
static void print_help()
static void print_help(void)
{
fprintf(stderr, "\
Usage: lxc-init --name=NAME -- COMMAND\n\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment