aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/midi
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-07-04 00:22:27 -0700
committerChris Robinson <[email protected]>2014-07-04 00:22:27 -0700
commit3f45c00779e90040508550b82f362e1e2e5abb5f (patch)
treec012bf1eab191bda9dd90f840984a0dfbc7ea05e /Alc/midi
parent17f79ea43eb0d901f616592f44ac2da5764c58e1 (diff)
Move an inline definition to a more appropriate source
Diffstat (limited to 'Alc/midi')
-rw-r--r--Alc/midi/base.c3
-rw-r--r--Alc/midi/sf2load.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/Alc/midi/base.c b/Alc/midi/base.c
index 1850a6c6..fbf02556 100644
--- a/Alc/midi/base.c
+++ b/Alc/midi/base.c
@@ -16,6 +16,9 @@
#include "alu.h"
+extern inline size_t Reader_read(Reader *self, void *buf, size_t len);
+
+
/* MIDI events */
#define SYSEX_EVENT (0xF0)
diff --git a/Alc/midi/sf2load.c b/Alc/midi/sf2load.c
index ee029b2a..3c81b256 100644
--- a/Alc/midi/sf2load.c
+++ b/Alc/midi/sf2load.c
@@ -12,8 +12,6 @@
#include "midi/base.h"
-extern inline size_t Reader_read(Reader *self, void *buf, size_t len);
-
static ALuint read_le32(Reader *stream)
{
ALubyte buf[4];