From 4cbd40cec0e5b54856bad2ddcc714ca8be350029 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Thu, 6 May 2010 22:19:20 +0200 Subject: [PATCH] darwin-user: Add missing static attribute Function usage is only used locally, so add "static". Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- darwin-user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"