mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
4450521668
commit
051eb6c135
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue