Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -232,7 +232,7 @@ const struct option longopts[] = {
	}
	}
};
};


static void help()
static void help(void)
{
{
	fprintf(stderr, "Usage: virtio_test [--help]"
	fprintf(stderr, "Usage: virtio_test [--help]"
		" [--no-indirect]"
		" [--no-indirect]"