summaryrefslogtreecommitdiff
path: root/plugins/ao
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-01 21:41:01 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-01 21:41:01 +0100
commitf30a353184a725089ec3f775632f22802e296e89 (patch)
treeb8412411d6aad821aba3f981632429df28853f62 /plugins/ao
parent061f6a22eeb0f009b0618f1d56011fab50d94571 (diff)
ao: fixed warnings
Diffstat (limited to 'plugins/ao')
-rw-r--r--plugins/ao/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ao/main.c b/plugins/ao/main.c
index a4da36d0..a2ed41fb 100644
--- a/plugins/ao/main.c
+++ b/plugins/ao/main.c
@@ -36,9 +36,6 @@
#define trace(fmt,...)
extern DB_functions_t *deadbeef;
-/* file types */
-static uint32 type;
-
static struct
{
uint32 sig;
@@ -97,11 +94,13 @@ int ao_get_lib(char *filename, uint8 **buffer, uint64 *length)
}
#if 0
+/* file types */
+static uint32 type;
+
static void do_frame(uint32 size, int16 *buffer)
{
(*types[type].gen)(buffer, size);
}
-#endif
int main(int argv, char *argc[])
{
@@ -197,6 +196,7 @@ int main(int argv, char *argc[])
return 1;
}
+#endif
// stub for MAME stuff
int change_pc(int foo)