X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=thunk.c;h=06571889aeeb3ae561f03175070e6ec61949c36f;hb=9096de69fff3cf34a848e8db3ffddc55cc64adb8;hp=7331aeb477d7f8fe124317e221fc3199b171d9ba;hpb=265531154a05a26e9b79819ddd068c285e681cbc;p=qemu.git diff --git a/thunk.c b/thunk.c index 7331aeb47..06571889a 100644 --- a/thunk.c +++ b/thunk.c @@ -14,8 +14,7 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * License along with this library; if not, see . */ #include #include @@ -113,7 +112,8 @@ void thunk_register_struct(int id, const char *name, const argtype *types) } } -void thunk_register_struct_direct(int id, const char *name, StructEntry *se1) +void thunk_register_struct_direct(int id, const char *name, + const StructEntry *se1) { StructEntry *se; se = struct_entries + id; @@ -248,9 +248,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++) { @@ -262,9 +262,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++) {