projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
051eb6c
)
darwin-user: Add missing static attribute
author
Stefan Weil
<weil@mail.berlios.de>
Thu, 6 May 2010 20:19:20 +0000
(22:19 +0200)
committer
Blue Swirl
<blauwirbel@gmail.com>
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 <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
darwin-user/main.c
patch
|
blob
|
history
diff --git
a/darwin-user/main.c
b/darwin-user/main.c
index ade7d4864b406213128351e22a3dffeb87c11cf1..175e12f968412582a0aac85deb636303167cec2a 100644
(file)
--- 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"