mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
51a0f568c5
commit
b1d8e52e63
37 changed files with 71 additions and 61 deletions
|
@ -102,8 +102,8 @@ static abi_ulong copy_strings(abi_ulong p, int n, char **s)
|
|||
return p;
|
||||
}
|
||||
|
||||
int target_pread(int fd, abi_ulong ptr, abi_ulong len,
|
||||
abi_ulong offset)
|
||||
static int target_pread(int fd, abi_ulong ptr, abi_ulong len,
|
||||
abi_ulong offset)
|
||||
{
|
||||
void *buf;
|
||||
int ret;
|
||||
|
@ -336,7 +336,7 @@ failed:
|
|||
/****************************************************************************/
|
||||
|
||||
/* ??? This does not handle endianness correctly. */
|
||||
void old_reloc(struct lib_info *libinfo, uint32_t rl)
|
||||
static void old_reloc(struct lib_info *libinfo, uint32_t rl)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue