]> git.proxmox.com Git - qemu.git/commit - target-arm/helper.c
target-arm: Avoid g_hash_table_get_keys()
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 1 Jul 2013 11:40:19 +0000 (12:40 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 15 Jul 2013 16:13:51 +0000 (17:13 +0100)
commit82a3a11897308b606120f7235001e87809708f85
tree81105fc79cc5dbe83181f128efd7954722adaab8
parent2ebcebe262e88111ff583f97bc5fe0aae64b8940
target-arm: Avoid g_hash_table_get_keys()

g_hash_table_get_keys() was only introduced in glib 2.14, and we're
still targeting a minimum version of 2.12.  Rewrite the offending
code (introduced in commit 721fae1) to use g_hash_table_foreach()
to build the list of keys.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Tested-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Message-id: 1372678819-8633-1-git-send-email-peter.maydell@linaro.org
target-arm/helper.c