From 4328614d93d52c818686f9891c697118c87cb8af Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 17 Feb 2021 11:22:10 +0300
Subject: [PATCH] remove SDL_HasARMNEON (we have SDL_HasNEON already)
---
include/SDL_cpuinfo.h | 1 -
src/cpuinfo/SDL_cpuinfo.c | 5 -----
2 files changed, 6 deletions(-)
diff --git a/include/SDL_cpuinfo.h b/include/SDL_cpuinfo.h
index f873100d..75b5f207 100644
--- a/include/SDL_cpuinfo.h
+++ b/include/SDL_cpuinfo.h
@@ -65,7 +65,6 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasARMSIMD(void);
/** This function returns true if the CPU has ARM NEON features */
extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);
-extern DECLSPEC SDL_bool SDLCALL SDL_HasARMNEON(void);
/* Ends C function definitions when using C++ */
#ifdef __cplusplus
diff --git a/src/cpuinfo/SDL_cpuinfo.c b/src/cpuinfo/SDL_cpuinfo.c
index 9ba83f46..21570a2f 100644
--- a/src/cpuinfo/SDL_cpuinfo.c
+++ b/src/cpuinfo/SDL_cpuinfo.c
@@ -679,11 +679,6 @@ SDL_bool SDL_HasNEON(void)
return SDL_FALSE;
}
-SDL_bool SDL_HasARMNEON(void)
-{
- return SDL_HasNEON();
-}
-
#ifdef TEST_MAIN
#include <stdio.h>