1
0
Fork 0

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>
hifive-unleashed-5.1
Cong Ding 2012-12-03 10:24:54 +00:00 committed by Michael S. Tsirkin
parent b93196dc5a
commit 4a7d6455b0
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ const struct option longopts[] = {
}
};
static void help()
static void help(void)
{
fprintf(stderr, "Usage: virtio_test [--help]"
" [--no-indirect]"