From 00f82b8a3166514f634c1c010c3b6175bcc6403b Mon Sep 17 00:00:00 2001 From: aurel32 Date: Sun, 27 Apr 2008 21:12:55 +0000 Subject: Use correct types to enable > 2G support, based on a patch from Anthony Liguori. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4265 c046a42c-6fe2-441c-8c8c-71466251a162 --- osdep.c | 1 - 1 file changed, 1 deletion(-) (limited to 'osdep.c') diff --git a/osdep.c b/osdep.c index ae7e3fb..46434af 100644 --- a/osdep.c +++ b/osdep.c @@ -98,7 +98,6 @@ static void *kqemu_vmalloc(size_t size) int64_t free_space; int ram_mb; - extern int ram_size; free_space = (int64_t)stfs.f_bavail * stfs.f_bsize; if ((ram_size + 8192 * 1024) >= free_space) { ram_mb = (ram_size / (1024 * 1024)); -- cgit v1.1