Skip to contentSkip to conversation

Remove redundant redeclaration of 'machine_restart'

PATCH New Hollis Blanchard 1 participant 1 message Aug 7, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove redundant redeclaration of 'machine_restart'

# HG changeset patch
# User Hollis Blanchard <[email protected]>
# Date 1154990956 18000
# Node ID 058f2e27476d686538de2671f57c1ded5c693b47 # Parent 4196687234c530a11d26a199f1479bc07e08248f [XEN] Remove redundant redeclaration of 'machine_restart'. Fixes compile warning with gcc 3.4.2.

xen/drivers/char/console.c +1 -2
diff -r 4196687234c5 -r 058f2e27476d xen/drivers/char/console.c
@@ -716,8 +716,7 @@ void panic(const char *fmt, ...)
     char buf[128];
     unsigned long flags;
     static DEFINE_SPINLOCK(lock);
-    extern void machine_restart(char *);
-    
+
     debugtrace_dump();
 
     va_start(args, fmt);