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

[Xen-changelog] [qemu-xen-unstable] Make hweight32 function static



commit f1d909f0f854194f5a40d850886d1413fb8b63c2
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Wed Mar 24 17:16:51 2010 +0000

    Make hweight32 function static
    
    Avoids compiler warning.
    Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index 9f95c2f..a49bf08 100644
--- a/vl.c
+++ b/vl.c
@@ -4707,7 +4707,7 @@ static void termsig_setup(void)
 #endif
 
 /* 32bit Hamming weight */
-unsigned int hweight32(unsigned int w)
+static unsigned int hweight32(unsigned int w)
 {
        unsigned int res = w - ((w >> 1) & 0x55555555);
        res = (res & 0x33333333) + ((res >> 2) & 0x33333333);
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

_______________________________________________
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®.