Skip to contentSkip to conversation

i386 setup.c: make 4 variables static

PATCH New Adrian Bunk 1 participant 1 message Dec 12, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i386 setup.c: make 4 variables static

The patch below makes four needlessly global variables static.

diffstat output:

 arch/i386/kernel/setup.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
arch/i386/kernel/setup.c renamed from arch/i386/kernel/setup.c.old +4 -4
@@ -425,10 +425,10 @@
 	struct e820entry *pbios; /* pointer to original bios entry */
 	unsigned long long addr; /* address for this change point */
 };
-struct change_member change_point_list[2*E820MAX] __initdata;
-struct change_member *change_point[2*E820MAX] __initdata;
-struct e820entry *overlap_list[E820MAX] __initdata;
-struct e820entry new_bios[E820MAX] __initdata;
+static struct change_member change_point_list[2*E820MAX] __initdata;
+static struct change_member *change_point[2*E820MAX] __initdata;
+static struct e820entry *overlap_list[E820MAX] __initdata;
+static struct e820entry new_bios[E820MAX] __initdata;
 
 static int __init sanitize_e820_map(struct e820entry * biosmap, char * pnr_map)
 {