aboutsummaryrefslogtreecommitdiff
path: root/tests
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
parent4450521668471c7685551d8c5bcc582d754e9843 (diff)
downloadqemu-051eb6c135d1f297d9b98717e2a5cc56ee76fbf1.zip
qemu-051eb6c135d1f297d9b98717e2a5cc56ee76fbf1.tar.gz
qemu-051eb6c135d1f297d9b98717e2a5cc56ee76fbf1.tar.bz2
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')
-rw-r--r--tests/qruncom.c2
-rw-r--r--tests/runcom.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/qruncom.c b/tests/qruncom.c
index a8d0ef6..079f7a2 100644
--- a/tests/qruncom.c
+++ b/tests/qruncom.c
@@ -89,7 +89,7 @@ int errno;
#define COM_BASE_ADDR 0x10100
-void usage(void)
+static void usage(void)
{
printf("qruncom version 0.1 (c) 2003 Fabrice Bellard\n"
"usage: qruncom file.com\n"
diff --git a/tests/runcom.c b/tests/runcom.c
index cbbaf31..6380566 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"