diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-01 10:29:42 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 21:23:37 -0500 |
commit | e919a4455d3e6bb587b0c1169119d57b98cd4fd6 (patch) | |
tree | 75b4e5684b99f81a9d810db4e6ff8680027ec8f8 | |
parent | 7d1b0975bb533d1a1118bf8bc32a33433a57b568 (diff) | |
download | qemu-e919a4455d3e6bb587b0c1169119d57b98cd4fd6.tar.gz |
Fix Sparse warning about missing prototype
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | bsd-user/elfload.c | 2 | ||||
-rw-r--r-- | bsd-user/qemu.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 678f3e6ad9..48ec4ac150 100644 --- a/bsd-user/elfload.c +++ b/bsd-user/elfload.c @@ -545,8 +545,6 @@ static inline void memcpy_fromfs(void * to, const void * from, unsigned long n) memcpy(to, from, n); } -extern unsigned long x86_stack_size; - static int load_aout_interp(void * exptr, int interp_fd); #ifdef BSWAP_NEEDED diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index d411bbbf4c..cbc6d282f3 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -193,6 +193,9 @@ void mmap_fork_start(void); void mmap_fork_end(int child); #endif +/* main.c */ +extern unsigned long x86_stack_size; + /* user access */ #define VERIFY_READ 0 |