projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b93196d
)
tools:virtio: fix compilation warning
author
Cong Ding
<dinggnu@gmail.com>
Mon, 3 Dec 2012 10:24:54 +0000
(10:24 +0000)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 6 Dec 2012 15:09:17 +0000
(17:09 +0200)
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>
tools/virtio/virtio_test.c
patch
|
blob
|
history
diff --git
a/tools/virtio/virtio_test.c
b/tools/virtio/virtio_test.c
index e626fa553c5ae1b2db0f044fe0c987e13e5af9ec..6d25dcd2e97a9015da4c927c36b13d3763dc5827 100644
(file)
--- 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]"