mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-18 15:44:02 +08:00
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: Cong Ding <dinggnu@gmail.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
b93196dc5a
commit
4a7d6455b0
@ -232,7 +232,7 @@ const struct option longopts[] = {
|
||||
}
|
||||
};
|
||||
|
||||
static void help()
|
||||
static void help(void)
|
||||
{
|
||||
fprintf(stderr, "Usage: virtio_test [--help]"
|
||||
" [--no-indirect]"
|
||||
|
Loading…
Reference in New Issue
Block a user