summaryrefslogtreecommitdiff
path: root/apps/plugins/midi/midiutil.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
commit50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch)
treec7881b015b220558167310345b162324c96be15a /apps/plugins/midi/midiutil.h
parentadb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff)
downloadrockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz
rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi/midiutil.h')
-rw-r--r--apps/plugins/midi/midiutil.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/midi/midiutil.h b/apps/plugins/midi/midiutil.h
index f984e71aff..b1ed6569b7 100644
--- a/apps/plugins/midi/midiutil.h
+++ b/apps/plugins/midi/midiutil.h
@@ -21,6 +21,8 @@
21 21
22#define FRACTSIZE 12 22#define FRACTSIZE 12
23 23
24#include "lib/pluginlib_exit.h"
25
24#define BUF_SIZE 16384 /* 64 kB output buffers */ 26#define BUF_SIZE 16384 /* 64 kB output buffers */
25#define NBUF 2 27#define NBUF 2
26 28
@@ -145,7 +147,6 @@ int readFourBytes(int file);
145int readVarData(int file); 147int readVarData(int file);
146int eof(int fd); 148int eof(int fd);
147unsigned char * readData(int file, int len); 149unsigned char * readData(int file, int len);
148void exit(int code);
149 150
150#define malloc(n) my_malloc(n) 151#define malloc(n) my_malloc(n)
151void * my_malloc(int size); 152void * my_malloc(int size);