From: Ian Jackson Date: Fri, 6 Jun 2008 16:27:31 +0000 (+0100) Subject: Remove a few spurious "extern"s in .c files X-Git-Tag: xen-3.3.0-rc1~95 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6ff13497cb0b120c98140a620e30d76563a2af84;p=qemu-xen-3.4-testing.git Remove a few spurious "extern"s in .c files --- diff --git a/i386-dm/exec-dm.c b/i386-dm/exec-dm.c index 8d9e82e7..2b7a6e6e 100644 --- a/i386-dm/exec-dm.c +++ b/i386-dm/exec-dm.c @@ -419,8 +419,8 @@ int iomem_index(target_phys_addr_t addr) #define phys_ram_addr(x) (((x) < ram_size) ? (phys_ram_base + (x)) : NULL) #endif -extern unsigned long *logdirty_bitmap; -extern unsigned long logdirty_bitmap_size; +unsigned long *logdirty_bitmap; +unsigned long logdirty_bitmap_size; /* * Replace the standard byte memcpy with a word memcpy for appropriately sized diff --git a/i386-dm/helper2.c b/i386-dm/helper2.c index 797e6aba..0f1ec91b 100644 --- a/i386-dm/helper2.c +++ b/i386-dm/helper2.c @@ -78,7 +78,7 @@ _syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount) int domid = -1; int vcpus = 1; -extern int xc_handle; +int xc_handle; char domain_name[64] = "Xen-no-name"; int domid;