diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
commit | b1d8e52e636fd2c137e5abb2d59b331473e0930d (patch) | |
tree | b9fe10850b589a60f5dade8cdf3407c67428127b /linux-user/flatload.c | |
parent | 51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff) |
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/flatload.c')
-rw-r--r-- | linux-user/flatload.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux-user/flatload.c b/linux-user/flatload.c index 29664b1447..ea810d5966 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c @@ -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*" }; |