Rename printf to prevent naming conflict. Also change comment to conform with Rockbox standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27562 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
803a0edb58
commit
91a45d2ecc
2 changed files with 10 additions and 10 deletions
|
@ -54,13 +54,13 @@ void *alloc(int size)
|
||||||
|
|
||||||
if (size + 4 > (int)totalSize)
|
if (size + 4 > (int)totalSize)
|
||||||
{
|
{
|
||||||
printf("MALLOC BARF");
|
midi_debug("MALLOC BARF");
|
||||||
printf("MALLOC BARF");
|
midi_debug("MALLOC BARF");
|
||||||
printf("MALLOC BARF");
|
midi_debug("MALLOC BARF");
|
||||||
printf("MALLOC BARF");
|
midi_debug("MALLOC BARF");
|
||||||
printf("MALLOC BARF");
|
midi_debug("MALLOC BARF");
|
||||||
printf("MALLOC BARF");
|
midi_debug("MALLOC BARF");
|
||||||
printf("MALLOC BARF");
|
midi_debug("MALLOC BARF");
|
||||||
/* We've made our point. */
|
/* We've made our point. */
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -132,8 +132,8 @@ int eof(int fd)
|
||||||
return size+1 == rb->lseek(fd, 0, SEEK_CUR);
|
return size+1 == rb->lseek(fd, 0, SEEK_CUR);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Here is a hacked up printf command to get the output from the game.
|
/* Here is a hacked up printf command to get the output from the game. */
|
||||||
int printf(const char *fmt, ...)
|
int midi_debug(const char *fmt, ...)
|
||||||
{
|
{
|
||||||
static int p_xtpt = 0;
|
static int p_xtpt = 0;
|
||||||
char p_buf[50];
|
char p_buf[50];
|
||||||
|
|
|
@ -142,7 +142,7 @@ struct Track
|
||||||
void * dataBlock;
|
void * dataBlock;
|
||||||
};
|
};
|
||||||
|
|
||||||
int printf(const char *fmt, ...);
|
int midi_debug(const char *fmt, ...);
|
||||||
unsigned char readChar(int file);
|
unsigned char readChar(int file);
|
||||||
int readTwoBytes(int file);
|
int readTwoBytes(int file);
|
||||||
int readFourBytes(int file);
|
int readFourBytes(int file);
|
||||||
|
|
Loading…
Reference in a new issue