From 6ff13497cb0b120c98140a620e30d76563a2af84 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 6 Jun 2008 17:27:31 +0100 Subject: [PATCH] Remove a few spurious "extern"s in .c files --- i386-dm/exec-dm.c | 4 ++-- i386-dm/helper2.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.5