diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-08-01 10:29:42 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-08-01 10:29:42 +0000 |
commit | 28e738dcb81dbab7cd3159bdb9acbc0c2607b444 (patch) | |
tree | dc07bc09a0cb781415139e0abf46a30c316a1f06 /bsd-user | |
parent | Fix Sparse warning about "expression using sizeof on a function" (diff) | |
download | qemu-kvm-28e738dcb81dbab7cd3159bdb9acbc0c2607b444.tar.gz qemu-kvm-28e738dcb81dbab7cd3159bdb9acbc0c2607b444.tar.bz2 qemu-kvm-28e738dcb81dbab7cd3159bdb9acbc0c2607b444.zip |
Fix Sparse warning about missing prototype
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'bsd-user')
-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 678f3e6ad..48ec4ac15 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 822a21445..d37561138 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 |