aboutsummaryrefslogtreecommitdiff
path: root/linux-user/flatload.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/flatload.c')
-rw-r--r--linux-user/flatload.c6
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*" };