summaryrefslogtreecommitdiff
path: root/thunk.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-25 22:11:41 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-25 22:11:41 +0000
commit0ad041d47692326f4c7f472d396ebdbfe92e1664 (patch)
treef12c5e0a303b4a778ab923f2700af4013ad0fe51 /thunk.h
parent1eb20527c88ff596e761574e6615c8f2272882b8 (diff)
downloadqemu-0ad041d47692326f4c7f472d396ebdbfe92e1664.tar.gz
qemu-0ad041d47692326f4c7f472d396ebdbfe92e1664.tar.bz2
qemu-0ad041d47692326f4c7f472d396ebdbfe92e1664.zip
fixed inline pb
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@284 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'thunk.h')
-rw-r--r--thunk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/thunk.h b/thunk.h
index 929e47f469..90586fc67e 100644
--- a/thunk.h
+++ b/thunk.h
@@ -236,6 +236,7 @@ void thunk_register_struct(int id, const char *name, const argtype *types);
void thunk_register_struct_direct(int id, const char *name, StructEntry *se1);
const argtype *thunk_convert(void *dst, const void *src,
const argtype *type_ptr, int to_host);
+#ifndef NO_THUNK_TYPE_SIZE
extern StructEntry struct_entries[];
@@ -312,6 +313,8 @@ static inline int thunk_type_align(const argtype *type_ptr, int is_host)
}
}
+#endif /* NO_THUNK_TYPE_SIZE */
+
unsigned int target_to_host_bitmask(unsigned int x86_mask,
bitmask_transtbl * trans_tbl);
unsigned int host_to_target_bitmask(unsigned int alpha_mask,