1
0
Fork 0
forked from len0rd/rockbox

Plugin parameters should be const.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2008-05-13 09:57:56 +00:00
parent a94e40d515
commit 6526577818
159 changed files with 363 additions and 371 deletions

View file

@ -26,7 +26,7 @@ int readID(int file);
struct MIDIfile midi_file IBSS_ATTR;
struct MIDIfile * loadFile(char * filename)
struct MIDIfile * loadFile(const char * filename)
{
struct MIDIfile * mfload;
int file = rb->open (filename, O_RDONLY);

View file

@ -17,5 +17,5 @@
*
****************************************************************************/
struct MIDIfile * loadFile(char * filename);
struct MIDIfile * loadFile(const char * filename);

View file

@ -191,11 +191,11 @@ int32_t gmbuf[BUF_SIZE*NBUF];
static unsigned int samples_in_buf;
int quit=0;
struct plugin_api * rb;
const struct plugin_api * rb;
static int midimain(void * filename);
static int midimain(const void * filename);
enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter)
{
int retval = 0;
@ -292,7 +292,7 @@ void get_more(unsigned char** start, size_t* size)
#endif
}
static int midimain(void * filename)
static int midimain(const void * filename)
{
int notesUsed = 0;
int a=0;