diff options
| author | 2015-07-25 15:40:23 -0700 | |
|---|---|---|
| committer | 2015-07-25 15:40:23 -0700 | |
| commit | 453764aefc3b822d08dae3642fab83ea1adf2bc8 (patch) | |
| tree | 8f932b224214150bf1e1d0624db133deb9a598f3 | |
| parent | Merge pull request #988 from lioncash/else (diff) | |
| parent | armdefs: Remove unnecessary extern keywords (diff) | |
| download | yuzu-453764aefc3b822d08dae3642fab83ea1adf2bc8.tar.gz yuzu-453764aefc3b822d08dae3642fab83ea1adf2bc8.tar.xz yuzu-453764aefc3b822d08dae3642fab83ea1adf2bc8.zip | |
Merge pull request #989 from lioncash/extern
armdefs: Remove unnecessary extern keywords
| -rw-r--r-- | src/core/arm/skyeye_common/armdefs.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/core/arm/skyeye_common/armdefs.h b/src/core/arm/skyeye_common/armdefs.h index d2c901100..a0ec108c7 100644 --- a/src/core/arm/skyeye_common/armdefs.h +++ b/src/core/arm/skyeye_common/armdefs.h | |||
| @@ -219,13 +219,13 @@ enum { | |||
| 219 | }; | 219 | }; |
| 220 | 220 | ||
| 221 | /***************************************************************************\ | 221 | /***************************************************************************\ |
| 222 | * Definitons of things in the emulator * | 222 | * Definitions of things in the emulator * |
| 223 | \***************************************************************************/ | 223 | \***************************************************************************/ |
| 224 | extern void ARMul_Reset(ARMul_State* state); | 224 | void ARMul_Reset(ARMul_State* state); |
| 225 | extern ARMul_State* ARMul_NewState(ARMul_State* state); | 225 | ARMul_State* ARMul_NewState(ARMul_State* state); |
| 226 | 226 | ||
| 227 | /***************************************************************************\ | 227 | /***************************************************************************\ |
| 228 | * Definitons of things in the co-processor interface * | 228 | * Definitions of things in the co-processor interface * |
| 229 | \***************************************************************************/ | 229 | \***************************************************************************/ |
| 230 | 230 | ||
| 231 | enum { | 231 | enum { |
| @@ -240,7 +240,7 @@ enum { | |||
| 240 | }; | 240 | }; |
| 241 | 241 | ||
| 242 | /***************************************************************************\ | 242 | /***************************************************************************\ |
| 243 | * Definitons of things in the host environment * | 243 | * Definitions of things in the host environment * |
| 244 | \***************************************************************************/ | 244 | \***************************************************************************/ |
| 245 | 245 | ||
| 246 | enum ConditionCode { | 246 | enum ConditionCode { |
| @@ -290,29 +290,29 @@ enum { | |||
| 290 | }; | 290 | }; |
| 291 | 291 | ||
| 292 | 292 | ||
| 293 | extern bool AddOverflow(ARMword, ARMword, ARMword); | 293 | bool AddOverflow(ARMword, ARMword, ARMword); |
| 294 | extern bool SubOverflow(ARMword, ARMword, ARMword); | 294 | bool SubOverflow(ARMword, ARMword, ARMword); |
| 295 | 295 | ||
| 296 | extern void ARMul_SelectProcessor(ARMul_State*, unsigned); | 296 | void ARMul_SelectProcessor(ARMul_State*, unsigned); |
| 297 | 297 | ||
| 298 | extern u32 AddWithCarry(u32, u32, u32, bool*, bool*); | 298 | u32 AddWithCarry(u32, u32, u32, bool*, bool*); |
| 299 | extern bool ARMul_AddOverflowQ(ARMword, ARMword); | 299 | bool ARMul_AddOverflowQ(ARMword, ARMword); |
| 300 | 300 | ||
| 301 | extern u8 ARMul_SignedSaturatedAdd8(u8, u8); | 301 | u8 ARMul_SignedSaturatedAdd8(u8, u8); |
| 302 | extern u8 ARMul_SignedSaturatedSub8(u8, u8); | 302 | u8 ARMul_SignedSaturatedSub8(u8, u8); |
| 303 | extern u16 ARMul_SignedSaturatedAdd16(u16, u16); | 303 | u16 ARMul_SignedSaturatedAdd16(u16, u16); |
| 304 | extern u16 ARMul_SignedSaturatedSub16(u16, u16); | 304 | u16 ARMul_SignedSaturatedSub16(u16, u16); |
| 305 | 305 | ||
| 306 | extern u8 ARMul_UnsignedSaturatedAdd8(u8, u8); | 306 | u8 ARMul_UnsignedSaturatedAdd8(u8, u8); |
| 307 | extern u16 ARMul_UnsignedSaturatedAdd16(u16, u16); | 307 | u16 ARMul_UnsignedSaturatedAdd16(u16, u16); |
| 308 | extern u8 ARMul_UnsignedSaturatedSub8(u8, u8); | 308 | u8 ARMul_UnsignedSaturatedSub8(u8, u8); |
| 309 | extern u16 ARMul_UnsignedSaturatedSub16(u16, u16); | 309 | u16 ARMul_UnsignedSaturatedSub16(u16, u16); |
| 310 | extern u8 ARMul_UnsignedAbsoluteDifference(u8, u8); | 310 | u8 ARMul_UnsignedAbsoluteDifference(u8, u8); |
| 311 | extern u32 ARMul_SignedSatQ(s32, u8, bool*); | 311 | u32 ARMul_SignedSatQ(s32, u8, bool*); |
| 312 | extern u32 ARMul_UnsignedSatQ(s32, u8, bool*); | 312 | u32 ARMul_UnsignedSatQ(s32, u8, bool*); |
| 313 | 313 | ||
| 314 | extern bool InBigEndianMode(ARMul_State*); | 314 | bool InBigEndianMode(ARMul_State*); |
| 315 | extern bool InAPrivilegedMode(ARMul_State*); | 315 | bool InAPrivilegedMode(ARMul_State*); |
| 316 | 316 | ||
| 317 | extern u32 ReadCP15Register(ARMul_State* cpu, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2); | 317 | u32 ReadCP15Register(ARMul_State* cpu, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2); |
| 318 | extern void WriteCP15Register(ARMul_State* cpu, u32 value, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2); | 318 | void WriteCP15Register(ARMul_State* cpu, u32 value, u32 crn, u32 opcode_1, u32 crm, u32 opcode_2); |