From: Blue Swirl Date: Sat, 1 Aug 2009 10:29:42 +0000 (+0000) Subject: Fix Sparse warning about missing prototype X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~11169 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28e738dcb81dbab7cd3159bdb9acbc0c2607b444;p=sdk%2Femulator%2Fqemu.git Fix Sparse warning about missing prototype Signed-off-by: Blue Swirl --- diff --git a/bsd-user/elfload.c b/bsd-user/elfload.c index 678f3e6..48ec4ac 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 822a214..d375611 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