summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-01-13 00:43:59 +0100
committerGravatar waker <wakeroid@gmail.com>2011-01-22 13:20:28 +0100
commit9ff65ed6718c0e358ef310359c4d0934a5a4c1a4 (patch)
tree27c7a309b14f9a01d9b32a559094343124b074e4 /plugins
parentafd85267fa134f0eb64ffd18038677d9704d4c77 (diff)
few android compatibility fixes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sid/csid.cpp2
-rw-r--r--plugins/tta/filter.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/sid/csid.cpp b/plugins/sid/csid.cpp
index 6ef5e62f..80236854 100644
--- a/plugins/sid/csid.cpp
+++ b/plugins/sid/csid.cpp
@@ -34,6 +34,7 @@
#include "../../deadbeef.h"
#include "csid.h"
+#ifndef ANDROID
int _Unwind_Resume_or_Rethrow;
int _Unwind_RaiseException;
int _Unwind_GetLanguageSpecificData;
@@ -45,6 +46,7 @@ int _Unwind_GetDataRelBase;
int _Unwind_GetRegionStart;
int _Unwind_SetGR;
int _Unwind_GetIPInfo;
+#endif
extern DB_decoder_t sid_plugin;
diff --git a/plugins/tta/filter.h b/plugins/tta/filter.h
index 6e8b13da..1f86cbb1 100644
--- a/plugins/tta/filter.h
+++ b/plugins/tta/filter.h
@@ -42,7 +42,7 @@
///////// Filter Settings //////////
static int flt_set[3] = {10, 9, 10};
-__inline void
+static __inline void
memshl (register int *pA, register int *pB) {
*pA++ = *pB++;
*pA++ = *pB++;
@@ -54,7 +54,7 @@ memshl (register int *pA, register int *pB) {
*pA = *pB;
}
-__inline void
+static __inline void
hybrid_filter (fltst *fs, int *in) {
register int *pA = fs->dl;
register int *pB = fs->qm;