diff options
author | Chris Robinson <[email protected]> | 2014-07-20 01:27:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-07-20 01:27:33 -0700 |
commit | 0ff4a9144253a8b6dcaee62dde94ee255e5e879d (patch) | |
tree | 367e67825a6d9da14ce05dc5be1f94935ef06ad2 | |
parent | 8592b9371adf5d9ee28acc515e2b99e2f1388b17 (diff) |
Make some functions static
-rw-r--r-- | OpenAL32/Include/alMidi.h | 2 | ||||
-rw-r--r-- | OpenAL32/alSoundfont.c | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/OpenAL32/Include/alMidi.h b/OpenAL32/Include/alMidi.h index f3f623a5..9d9fa6c4 100644 --- a/OpenAL32/Include/alMidi.h +++ b/OpenAL32/Include/alMidi.h @@ -141,8 +141,6 @@ typedef struct ALsoundfont { ALuint id; } ALsoundfont; -void ALsoundfont_Construct(ALsoundfont *self); -void ALsoundfont_Destruct(ALsoundfont *self); ALsoundfont *ALsoundfont_getDefSoundfont(ALCcontext *context); void ALsoundfont_deleteSoundfont(ALsoundfont *self, ALCdevice *device); diff --git a/OpenAL32/alSoundfont.c b/OpenAL32/alSoundfont.c index ac181125..30c97a3a 100644 --- a/OpenAL32/alSoundfont.c +++ b/OpenAL32/alSoundfont.c @@ -18,8 +18,8 @@ extern inline struct ALsoundfont *LookupSfont(ALCdevice *device, ALuint id); extern inline struct ALsoundfont *RemoveSfont(ALCdevice *device, ALuint id); -void ALsoundfont_Construct(ALsoundfont *self); -void ALsoundfont_Destruct(ALsoundfont *self); +static void ALsoundfont_Construct(ALsoundfont *self); +static void ALsoundfont_Destruct(ALsoundfont *self); void ALsoundfont_deleteSoundfont(ALsoundfont *self, ALCdevice *device); ALsoundfont *ALsoundfont_getDefSoundfont(ALCcontext *context); static size_t ALsoundfont_read(ALvoid *buf, size_t bytes, ALvoid *ptr); @@ -275,7 +275,7 @@ done: } -void ALsoundfont_Construct(ALsoundfont *self) +static void ALsoundfont_Construct(ALsoundfont *self) { InitRef(&self->ref, 0); @@ -287,7 +287,7 @@ void ALsoundfont_Construct(ALsoundfont *self) self->id = 0; } -void ALsoundfont_Destruct(ALsoundfont *self) +static void ALsoundfont_Destruct(ALsoundfont *self) { ALsizei i; |