Fix build warnings

Signed-off-by: Mahyar Koshkouei <deltabeard@users.noreply.github.com>
This commit is contained in:
Mahyar Koshkouei
2017-02-15 15:28:07 +00:00
parent bd03f3c4c0
commit 825db2f713
12 changed files with 33 additions and 25 deletions

View File

@@ -1,9 +1,6 @@
#include <errno.h>
#include <stdio.h>
/* Channel to play music on */
#define CHANNEL 0x08
/* Adds extra debugging text */
//#define DEBUG
@@ -14,13 +11,3 @@
#define delete(ptr) \
free((void*) ptr); ptr = NULL
struct decoder_fn
{
int (* init)(const char* file);
uint32_t (* rate)(void);
uint8_t (* channels)(void);
int buffSize;
uint64_t (* decode)(void*);
void (* exit)(void);
};