WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] [XEN] Remove redundant redeclaration of 'machine_res

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] [XEN] Remove redundant redeclaration of 'machine_restart'
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Mon, 07 Aug 2006 17:51:39 -0500
Delivery-date: Mon, 07 Aug 2006 15:51:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1154990956 18000
# Node ID 058f2e27476d686538de2671f57c1ded5c693b47
# Parent  4196687234c530a11d26a199f1479bc07e08248f
[XEN] Remove redundant redeclaration of 'machine_restart'.
Fixes compile warning with gcc 3.4.2.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>

diff -r 4196687234c5 -r 058f2e27476d xen/drivers/char/console.c
--- a/xen/drivers/char/console.c        Mon Aug 07 17:36:58 2006 -0500
+++ b/xen/drivers/char/console.c        Mon Aug 07 17:49:16 2006 -0500
@@ -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);

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [XEN] Remove redundant redeclaration of 'machine_restart', Hollis Blanchard <=