diff options
author | Cong Ding <dinggnu@gmail.com> | 2012-12-03 14:24:54 +0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-12-06 19:09:17 +0400 |
commit | 4a7d6455b07845d92e025da222f11de519f90def (patch) | |
tree | c85be14fbd161f128d34c95770ac928e4230c3b3 /tools/virtio | |
parent | b93196dc5af7729ff7cc50d3d322ab1a364aa14f (diff) | |
download | linux-4a7d6455b07845d92e025da222f11de519f90def.tar.xz |
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/virtio')
-rw-r--r-- | tools/virtio/virtio_test.c | 2 |
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[] = { } }; -static void help() +static void help(void) { fprintf(stderr, "Usage: virtio_test [--help]" " [--no-indirect]" |