aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 01:44:38 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 01:44:38 +0000
commit9596ebb7012a19a45ca036a200acd617a93a321b (patch)
treedf011db5945e48dc0c86c04daf2c2072f43f2867 /target-i386
parentImprove PowerPC instructions set dump. (diff)
downloadqemu-kvm-9596ebb7012a19a45ca036a200acd617a93a321b.tar.gz
qemu-kvm-9596ebb7012a19a45ca036a200acd617a93a321b.tar.bz2
qemu-kvm-9596ebb7012a19a45ca036a200acd617a93a321b.zip
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c
index 841824fc9..a2f465c73 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -1235,7 +1235,7 @@ void do_interrupt(int intno, int is_int, int error_code,
* needed. It should only be called, if this is not an interrupt.
* Returns the new exception number.
*/
-int check_exception(int intno, int *error_code)
+static int check_exception(int intno, int *error_code)
{
char first_contributory = env->old_exception == 0 ||
(env->old_exception >= 10 &&
@@ -3051,7 +3051,7 @@ void helper_fstt_ST0_A0(void)
helper_fstt(ST0, A0);
}
-void fpu_set_exception(int mask)
+static void fpu_set_exception(int mask)
{
env->fpus |= mask;
if (env->fpus & (~env->fpuc & FPUC_EM))