aboutsummaryrefslogtreecommitdiff
path: root/darwin-user/main.c
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-05-06 22:19:20 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-05-07 16:28:12 +0000
commit4cbd40cec0e5b54856bad2ddcc714ca8be350029 (patch)
treefa3a2e0293bb4842bbd1b016d9dae9422bc9f79a /darwin-user/main.c
parent051eb6c135d1f297d9b98717e2a5cc56ee76fbf1 (diff)
darwin-user: Add missing static attribute
Function usage is only used locally, so add "static". Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'darwin-user/main.c')
-rw-r--r--darwin-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin-user/main.c b/darwin-user/main.c
index ade7d4864b..175e12f968 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -704,7 +704,7 @@ void cpu_loop(CPUX86State *env)
}
#endif
-void usage(void)
+static void usage(void)
{
printf("qemu-" TARGET_ARCH " version " QEMU_VERSION ", Copyright (c) 2003-2004 Fabrice Bellard\n"
"usage: qemu-" TARGET_ARCH " [-h] [-d opts] [-L path] [-s size] program [arguments...]\n"