Commit 4a7d6455 authored by Cong Ding's avatar Cong Ding Committed by Michael S. Tsirkin

tools:virtio: fix compilation warning

We do not allow old-style function definition.  Always spell foo(void) if
a function does not take any parameters.
Signed-off-by: default avatarCong Ding <dinggnu@gmail.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent b93196dc
......@@ -232,7 +232,7 @@ const struct option longopts[] = {
}
};
static void help()
static void help(void)
{
fprintf(stderr, "Usage: virtio_test [--help]"
" [--no-indirect]"
......
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