summaryrefslogtreecommitdiff
path: root/tests/runcom.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-05-06 22:17:54 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-05-07 16:28:10 +0000
commit051eb6c135d1f297d9b98717e2a5cc56ee76fbf1 (patch)
tree831686337cb1fbde6aeddab02634c6666b5d4042 /tests/runcom.c
parent4450521668471c7685551d8c5bcc582d754e9843 (diff)
downloadqemu-051eb6c135d1f297d9b98717e2a5cc56ee76fbf1.tar.gz
qemu-051eb6c135d1f297d9b98717e2a5cc56ee76fbf1.tar.bz2
qemu-051eb6c135d1f297d9b98717e2a5cc56ee76fbf1.zip
Add missing 'static' attribute
Function usage() is only used locally. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tests/runcom.c')
-rw-r--r--tests/runcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runcom.c b/tests/runcom.c
index cbbaf313ba..6380566635 100644
--- a/tests/runcom.c
+++ b/tests/runcom.c
@@ -25,7 +25,7 @@ _syscall2(int, vm86, int, func, struct vm86plus_struct *, v86)
#define COM_BASE_ADDR 0x10100
-void usage(void)
+static void usage(void)
{
printf("runcom version 0.1 (c) 2003 Fabrice Bellard\n"
"usage: runcom file.com\n"