--- qemu/linux-user/arm/nwfpe/fpa11.c 2018/04/24 16:52:09 1.1 +++ qemu/linux-user/arm/nwfpe/fpa11.c 2018/04/24 17:36:30 1.1.1.3 @@ -30,12 +30,7 @@ #include -/* forward declarations */ -unsigned int EmulateCPDO(const unsigned int); -unsigned int EmulateCPDT(const unsigned int); -unsigned int EmulateCPRT(const unsigned int); - -FPA11* qemufpa=0; +FPA11* qemufpa = NULL; CPUARMState* user_registers; /* Reset the FPA11 chip. Called to initialize and reset the emulator. */ @@ -196,7 +191,7 @@ unsigned int EmulateAll(unsigned int opc if(nRc == 1 && get_float_exception_flags(&fpa11->fp_status)) { //printf("fef 0x%x\n",float_exception_flags); - nRc=-get_float_exception_flags(&fpa11->fp_status); + nRc = -get_float_exception_flags(&fpa11->fp_status); } //printf("returning %d\n",nRc);