diff options
author | Cong Ding <dinggnu@gmail.com> | 2012-12-03 11:24:54 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-12-06 16:09:17 +0100 |
commit | 4a7d6455b07845d92e025da222f11de519f90def (patch) | |
tree | c85be14fbd161f128d34c95770ac928e4230c3b3 /tools/virtio | |
parent | net: fix some compiler warning in net/core/neighbour.c (diff) | |
download | linux-4a7d6455b07845d92e025da222f11de519f90def.tar.xz linux-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/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]" |