mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 23:08:35 +00:00
[libyuv] Fix function declaration without a prototype
This commit is contained in:
1 parent
7f73f94c15
commit
b21fc93b78
2 files changed
+4
-4
No files matched your search
@@ -108,7 +108,7 @@ LIBYUV_API
|
||||
int AArch64CpuCaps(unsigned long hwcap, unsigned long hwcap2);
|
||||
#else
|
||||
LIBYUV_API
|
||||
int AArch64CpuCaps();
|
||||
int AArch64CpuCaps(void);
|
||||
#endif
|
||||
|
||||
// For testing, allow CPU flags to be disabled.
|
||||
|
||||
@@ -229,7 +229,7 @@ LIBYUV_API SAFEBUFFERS int AArch64CpuCaps(unsigned long hwcap,
|
||||
|
||||
#elif defined(_WIN32)
|
||||
// For AArch64, but public to allow testing on any CPU.
|
||||
LIBYUV_API SAFEBUFFERS int AArch64CpuCaps() {
|
||||
LIBYUV_API SAFEBUFFERS int AArch64CpuCaps(void) {
|
||||
// Neon is mandatory on AArch64, so enable unconditionally.
|
||||
int features = kCpuHasNEON;
|
||||
|
||||
@@ -259,7 +259,7 @@ static bool have_feature(const char* feature) {
|
||||
}
|
||||
|
||||
// For AArch64, but public to allow testing on any CPU.
|
||||
LIBYUV_API SAFEBUFFERS int AArch64CpuCaps() {
|
||||
LIBYUV_API SAFEBUFFERS int AArch64CpuCaps(void) {
|
||||
// Neon is mandatory on AArch64, so enable unconditionally.
|
||||
int features = kCpuHasNEON;
|
||||
|
||||
@@ -288,7 +288,7 @@ LIBYUV_API SAFEBUFFERS int AArch64CpuCaps() {
|
||||
|
||||
#else // !defined(__linux__) && !defined(_WIN32) && !defined(__APPLE__)
|
||||
// For AArch64, but public to allow testing on any CPU.
|
||||
LIBYUV_API SAFEBUFFERS int AArch64CpuCaps() {
|
||||
LIBYUV_API SAFEBUFFERS int AArch64CpuCaps(void) {
|
||||
// Neon is mandatory on AArch64, so enable unconditionally.
|
||||
int features = kCpuHasNEON;
|
||||
|
||||
|
||||
Reference in new issue
Block a user