]> Git Repo - qemu.git/commitdiff
darwin-user: Add missing static attribute
authorStefan Weil <[email protected]>
Thu, 6 May 2010 20:19:20 +0000 (22:19 +0200)
committerBlue Swirl <[email protected]>
Fri, 7 May 2010 16:28:12 +0000 (16:28 +0000)
Function usage is only used locally, so add "static".

Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
darwin-user/main.c

index ade7d4864b406213128351e22a3dffeb87c11cf1..175e12f968412582a0aac85deb636303167cec2a 100644 (file)
@@ -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"
This page took 0.028686 seconds and 4 git commands to generate.