提交 4a7d6455 编写于 作者: C Cong Ding 提交者: 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: NCong Ding <dinggnu@gmail.com>
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部