summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2015-02-06 14:39:43 -0500
committerGravatar Lioncash2015-02-06 14:52:29 -0500
commit1ecd75ea1adfa891fcc2212460de132d06a30dc5 (patch)
tree22e9c4e9e3e4738d9846e42f1dd4fb836ac4c91d /src
parentvfp: Move FPSID, FPEXC, and FPSCR values over to enums. (diff)
downloadyuzu-1ecd75ea1adfa891fcc2212460de132d06a30dc5.tar.gz
yuzu-1ecd75ea1adfa891fcc2212460de132d06a30dc5.tar.xz
yuzu-1ecd75ea1adfa891fcc2212460de132d06a30dc5.zip
vfp_helper: Remove unnecessary extern C blocks
Diffstat (limited to 'src')
-rw-r--r--src/core/arm/skyeye_common/vfp/vfp_helper.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/core/arm/skyeye_common/vfp/vfp_helper.h b/src/core/arm/skyeye_common/vfp/vfp_helper.h
index af03cb6e7..581f0358f 100644
--- a/src/core/arm/skyeye_common/vfp/vfp_helper.h
+++ b/src/core/arm/skyeye_common/vfp/vfp_helper.h
@@ -239,15 +239,6 @@ struct vfp_single {
239 u32 significand; 239 u32 significand;
240}; 240};
241 241
242#ifdef __cplusplus
243 extern "C" {
244#endif
245extern s32 vfp_get_float(ARMul_State * state, unsigned int reg);
246extern void vfp_put_float(ARMul_State * state, s32 val, unsigned int reg);
247#ifdef __cplusplus
248 }
249#endif
250
251/* 242/*
252 * VFP_SINGLE_MANTISSA_BITS - number of bits in the mantissa 243 * VFP_SINGLE_MANTISSA_BITS - number of bits in the mantissa
253 * VFP_SINGLE_EXPONENT_BITS - number of bits in the exponent 244 * VFP_SINGLE_EXPONENT_BITS - number of bits in the exponent
@@ -356,14 +347,7 @@ struct vfp_double {
356#else 347#else
357#define VFP_REG_ZERO 16 348#define VFP_REG_ZERO 16
358#endif 349#endif
359#ifdef __cplusplus 350
360 extern "C" {
361#endif
362extern u64 vfp_get_double(ARMul_State * state, unsigned int reg);
363extern void vfp_put_double(ARMul_State * state, u64 val, unsigned int reg);
364#ifdef __cplusplus
365 }
366#endif
367#define VFP_DOUBLE_MANTISSA_BITS (52) 351#define VFP_DOUBLE_MANTISSA_BITS (52)
368#define VFP_DOUBLE_EXPONENT_BITS (11) 352#define VFP_DOUBLE_EXPONENT_BITS (11)
369#define VFP_DOUBLE_LOW_BITS (64 - VFP_DOUBLE_MANTISSA_BITS - 2) 353#define VFP_DOUBLE_LOW_BITS (64 - VFP_DOUBLE_MANTISSA_BITS - 2)