mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-27 18:54:02 +02:00
Make ma_android_sdk_version static to fix -Wmissing-prototypes.
This commit is contained in:
committed by
David Reid
parent
55f16e62f6
commit
56ffd77769
+1
-1
@@ -12169,7 +12169,7 @@ static MA_INLINE void ma_restore_denormals(unsigned int prevState)
|
|||||||
#ifdef MA_ANDROID
|
#ifdef MA_ANDROID
|
||||||
#include <sys/system_properties.h>
|
#include <sys/system_properties.h>
|
||||||
|
|
||||||
int ma_android_sdk_version()
|
static int ma_android_sdk_version(void)
|
||||||
{
|
{
|
||||||
char sdkVersion[PROP_VALUE_MAX + 1] = {0, };
|
char sdkVersion[PROP_VALUE_MAX + 1] = {0, };
|
||||||
if (__system_property_get("ro.build.version.sdk", sdkVersion)) {
|
if (__system_property_get("ro.build.version.sdk", sdkVersion)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user