Index: src/opts/SkUtils_opts_arm.cpp |
diff --git a/src/opts/SkUtils_opts_arm.cpp b/src/opts/SkUtils_opts_arm.cpp |
index b3a652e74535f35fe08c906abdaf12f49b49ff0d..d74471f787b213052b4c00dea6f4bf58b914945c 100644 |
--- a/src/opts/SkUtils_opts_arm.cpp |
+++ b/src/opts/SkUtils_opts_arm.cpp |
@@ -8,14 +8,14 @@ |
#include "SkUtils.h" |
#include "SkUtilsArm.h" |
-extern "C" void memset16_neon(uint16_t dst[], uint16_t value, int count); |
-extern "C" void memset32_neon(uint32_t dst[], uint32_t value, int count); |
+void sk_memset16_neon(uint16_t dst[], uint16_t value, int count); |
+void sk_memset32_neon(uint32_t dst[], uint32_t value, int count); |
SkMemset16Proc SkMemset16GetPlatformProc() { |
#if SK_ARM_NEON_IS_ALWAYS |
- return memset16_neon; |
+ return sk_memset16_neon; |
#elif SK_ARM_NEON_IS_DYNAMIC |
- return sk_cpu_arm_has_neon() ? memset16_neon : nullptr; |
+ return sk_cpu_arm_has_neon() ? sk_memset16_neon : nullptr; |
#else |
return nullptr; |
#endif |
@@ -23,9 +23,9 @@ SkMemset16Proc SkMemset16GetPlatformProc() { |
SkMemset32Proc SkMemset32GetPlatformProc() { |
#if SK_ARM_NEON_IS_ALWAYS |
- return memset32_neon; |
+ return sk_memset32_neon; |
#elif SK_ARM_NEON_IS_DYNAMIC |
- return sk_cpu_arm_has_neon() ? memset32_neon : nullptr; |
+ return sk_cpu_arm_has_neon() ? sk_memset32_neon : nullptr; |
#else |
return nullptr; |
#endif |