Fix Sparse warning about missing prototype
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 1 Aug 2009 10:29:42 +0000 (10:29 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 02:23:37 +0000 (21:23 -0500)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
bsd-user/elfload.c
bsd-user/qemu.h

index 678f3e6ad9895af068b85ed46bcb34c809c09141..48ec4ac150ee677dd946f6ef52c368942642a657 100644 (file)
@@ -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
index d411bbbf4c1a5d3c24ba197980816a2013b75097..cbc6d282f3e6470b2a68dfee74ac6d31a12cae6f 100644 (file)
@@ -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