aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorCong Ding2012-12-03 04:24:54 -0600
committerMichael S. Tsirkin2012-12-06 09:09:17 -0600
commit4a7d6455b07845d92e025da222f11de519f90def (patch)
treec85be14fbd161f128d34c95770ac928e4230c3b3 /tools
parentb93196dc5af7729ff7cc50d3d322ab1a364aa14f (diff)
downloadkernel-omap-4a7d6455b07845d92e025da222f11de519f90def.tar.gz
kernel-omap-4a7d6455b07845d92e025da222f11de519f90def.tar.xz
kernel-omap-4a7d6455b07845d92e025da222f11de519f90def.zip
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtio/virtio_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c
index e626fa553c5a..6d25dcd2e97a 100644
--- a/tools/virtio/virtio_test.c
+++ b/tools/virtio/virtio_test.c
@@ -232,7 +232,7 @@ const struct option longopts[] = {
232 } 232 }
233}; 233};
234 234
235static void help() 235static void help(void)
236{ 236{
237 fprintf(stderr, "Usage: virtio_test [--help]" 237 fprintf(stderr, "Usage: virtio_test [--help]"
238 " [--no-indirect]" 238 " [--no-indirect]"