[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] A few functions should be static in shutdown.c.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d7c99adf8a35212bfe1322b2d237907399ee788a
# Parent  da48960db8d23c6205509cad3a82885bf718f9f3
A few functions should be static in shutdown.c.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r da48960db8d2 -r d7c99adf8a35 xen/arch/x86/shutdown.c
--- a/xen/arch/x86/shutdown.c   Mon May 01 17:02:43 2006 +0100
+++ b/xen/arch/x86/shutdown.c   Mon May 01 17:41:02 2006 +0100
@@ -41,7 +41,7 @@ static inline void kb_wait(void)
             break;
 }
 
-void __attribute__((noreturn)) __machine_halt(void *unused)
+static void __machine_halt(void *unused) __attribute__((noreturn))
 {
     for ( ; ; )
         __asm__ __volatile__ ( "hlt" );
@@ -127,7 +127,7 @@ static const unsigned char jump_to_bios 
  * specified by the code and length parameters.
  * We assume that length will aways be less that MAX_LENGTH!
  */
-void machine_real_restart(const unsigned char *code, unsigned length)
+static void machine_real_restart(const unsigned char *code, unsigned length)
 {
     local_irq_disable();
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.