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/
Home Products Support Community News


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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [qemu-xen-unstable] Make hweight32 function static
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Wed, 24 Mar 2010 10:35:14 -0700
Delivery-date: Wed, 24 Mar 2010 10:37:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
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)
 /* 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [qemu-xen-unstable] Make hweight32 function static, Ian Jackson <=