diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 10:51:10 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-05 10:51:10 +0000 |
commit | b39bc503c171a1f1f39fe2958ddbf2ce75bbcc16 (patch) | |
tree | 82db1cd4fdea05b5d7fdba8fe296a44728b54953 /thunk.c | |
parent | 8e853dc78094cb7ebf13b154f2a6f0785e44c874 (diff) | |
download | qemu-b39bc503c171a1f1f39fe2958ddbf2ce75bbcc16.zip qemu-b39bc503c171a1f1f39fe2958ddbf2ce75bbcc16.tar.gz qemu-b39bc503c171a1f1f39fe2958ddbf2ce75bbcc16.tar.bz2 |
Make bitmask tables static const
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5425 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'thunk.c')
-rw-r--r-- | thunk.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -249,9 +249,9 @@ const argtype *thunk_convert(void *dst, const void *src, * between X86 and Alpha formats... */ unsigned int target_to_host_bitmask(unsigned int x86_mask, - bitmask_transtbl * trans_tbl) + const bitmask_transtbl * trans_tbl) { - bitmask_transtbl * btp; + const bitmask_transtbl *btp; unsigned int alpha_mask = 0; for(btp = trans_tbl; btp->x86_mask && btp->alpha_mask; btp++) { @@ -263,9 +263,9 @@ unsigned int target_to_host_bitmask(unsigned int x86_mask, } unsigned int host_to_target_bitmask(unsigned int alpha_mask, - bitmask_transtbl * trans_tbl) + const bitmask_transtbl * trans_tbl) { - bitmask_transtbl * btp; + const bitmask_transtbl *btp; unsigned int x86_mask = 0; for(btp = trans_tbl; btp->x86_mask && btp->alpha_mask; btp++) { |