openal32: Make a bunch of wrapper functions static.

Francois Gouget fgouget at free.fr
Wed Mar 30 09:41:12 CDT 2011


---
 dlls/openal32/openal.c |   72 ++++++++++++++++++++++++------------------------
 1 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/dlls/openal32/openal.c b/dlls/openal32/openal.c
index 784fbb5..b2bb2da 100644
--- a/dlls/openal32/openal.c
+++ b/dlls/openal32/openal.c
@@ -545,7 +545,7 @@ ALvoid CDECL wine_alBufferData(ALuint bid, ALenum format, const ALvoid* data, AL
     alBufferData(bid, format, data, size, freq);
 }
 
-ALvoid CDECL wine_alBufferDataStatic(const ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq)
+static ALvoid CDECL wine_alBufferDataStatic(const ALuint bid, ALenum format, const ALvoid* data, ALsizei size, ALsizei freq)
 {
     alBufferDataStatic(bid, format, data, size, freq);
 }
@@ -689,176 +689,176 @@ ALvoid CDECL wine_alSpeedOfSound(ALfloat value)
 }
 
 /* OpenAL EFX extension functions */
-ALvoid CDECL wine_alGenFilters(ALsizei n, ALuint* filters)
+static ALvoid CDECL wine_alGenFilters(ALsizei n, ALuint* filters)
 {
     alGenFilters(n, filters);
 }
 
-ALvoid CDECL wine_alDeleteFilters(ALsizei n, const ALuint* filters)
+static ALvoid CDECL wine_alDeleteFilters(ALsizei n, const ALuint* filters)
 {
     alDeleteFilters(n, filters);
 }
 
-ALboolean CDECL wine_alIsFilter(ALuint fid)
+static ALboolean CDECL wine_alIsFilter(ALuint fid)
 {
     return alIsFilter(fid);
 }
 
-ALvoid CDECL wine_alFilterf(ALuint fid, ALenum param, ALfloat value)
+static ALvoid CDECL wine_alFilterf(ALuint fid, ALenum param, ALfloat value)
 {
     alFilterf(fid, param, value);
 }
 
-ALvoid CDECL wine_alFilterfv(ALuint fid, ALenum param, const ALfloat* values)
+static ALvoid CDECL wine_alFilterfv(ALuint fid, ALenum param, const ALfloat* values)
 {
     alFilterfv(fid, param, values);
 }
 
-ALvoid CDECL wine_alFilteri(ALuint fid, ALenum param, ALint value)
+static ALvoid CDECL wine_alFilteri(ALuint fid, ALenum param, ALint value)
 {
     alFilteri(fid, param, value);
 }
 
-ALvoid CDECL wine_alFilteriv(ALuint fid, ALenum param, const ALint* values)
+static ALvoid CDECL wine_alFilteriv(ALuint fid, ALenum param, const ALint* values)
 {
     alFilteriv(fid, param, values);
 }
 
-ALvoid CDECL wine_alGetFilterf(ALuint fid, ALenum param, ALfloat* value)
+static ALvoid CDECL wine_alGetFilterf(ALuint fid, ALenum param, ALfloat* value)
 {
     alGetFilterf(fid, param, value);
 }
 
-ALvoid CDECL wine_alGetFilterfv(ALuint fid, ALenum param, ALfloat* values)
+static ALvoid CDECL wine_alGetFilterfv(ALuint fid, ALenum param, ALfloat* values)
 {
     alGetFilterfv(fid, param, values);
 }
 
-ALvoid CDECL wine_alGetFilteri(ALuint fid, ALenum param, ALint* value)
+static ALvoid CDECL wine_alGetFilteri(ALuint fid, ALenum param, ALint* value)
 {
     alGetFilteri(fid, param, value);
 }
 
-ALvoid CDECL wine_alGetFilteriv(ALuint fid, ALenum param, ALint* values)
+static ALvoid CDECL wine_alGetFilteriv(ALuint fid, ALenum param, ALint* values)
 {
     alGetFilteriv(fid, param, values);
 }
 
 
-ALvoid CDECL wine_alGenEffects(ALsizei n, ALuint* effects)
+static ALvoid CDECL wine_alGenEffects(ALsizei n, ALuint* effects)
 {
     alGenEffects(n, effects);
 }
 
-ALvoid CDECL wine_alDeleteEffects(ALsizei n, const ALuint* effects)
+static ALvoid CDECL wine_alDeleteEffects(ALsizei n, const ALuint* effects)
 {
     alDeleteEffects(n, effects);
 }
 
-ALboolean CDECL wine_alIsEffect(ALuint eid)
+static ALboolean CDECL wine_alIsEffect(ALuint eid)
 {
     return alIsEffect(eid);
 }
 
-ALvoid CDECL wine_alEffectf(ALuint eid, ALenum param, ALfloat value)
+static ALvoid CDECL wine_alEffectf(ALuint eid, ALenum param, ALfloat value)
 {
     alEffectf(eid, param, value);
 }
 
-ALvoid CDECL wine_alEffectfv(ALuint eid, ALenum param, const ALfloat* values)
+static ALvoid CDECL wine_alEffectfv(ALuint eid, ALenum param, const ALfloat* values)
 {
     alEffectfv(eid, param, values);
 }
 
-ALvoid CDECL wine_alEffecti(ALuint eid, ALenum param, ALint value)
+static ALvoid CDECL wine_alEffecti(ALuint eid, ALenum param, ALint value)
 {
     alEffecti(eid, param, value);
 }
 
-ALvoid CDECL wine_alEffectiv(ALuint eid, ALenum param, const ALint* values)
+static ALvoid CDECL wine_alEffectiv(ALuint eid, ALenum param, const ALint* values)
 {
     alEffectiv(eid, param, values);
 }
 
-ALvoid CDECL wine_alGetEffectf(ALuint eid, ALenum param, ALfloat* value)
+static ALvoid CDECL wine_alGetEffectf(ALuint eid, ALenum param, ALfloat* value)
 {
     alGetEffectf(eid, param, value);
 }
 
-ALvoid CDECL wine_alGetEffectfv(ALuint eid, ALenum param, ALfloat* values)
+static ALvoid CDECL wine_alGetEffectfv(ALuint eid, ALenum param, ALfloat* values)
 {
     alGetEffectfv(eid, param, values);
 }
 
-ALvoid CDECL wine_alGetEffecti(ALuint eid, ALenum param, ALint* value)
+static ALvoid CDECL wine_alGetEffecti(ALuint eid, ALenum param, ALint* value)
 {
     alGetEffecti(eid, param, value);
 }
 
-ALvoid CDECL wine_alGetEffectiv(ALuint eid, ALenum param, ALint* values)
+static ALvoid CDECL wine_alGetEffectiv(ALuint eid, ALenum param, ALint* values)
 {
     alGetEffectiv(eid, param, values);
 }
 
 
-ALvoid CDECL wine_alGenAuxiliaryEffectSlots(ALsizei n, ALuint* slots)
+static ALvoid CDECL wine_alGenAuxiliaryEffectSlots(ALsizei n, ALuint* slots)
 {
     alGenAuxiliaryEffectSlots(n, slots);
 }
 
-ALvoid CDECL wine_alDeleteAuxiliaryEffectSlots(ALsizei n, const ALuint* slots)
+static ALvoid CDECL wine_alDeleteAuxiliaryEffectSlots(ALsizei n, const ALuint* slots)
 {
     alDeleteAuxiliaryEffectSlots(n, slots);
 }
 
-ALboolean CDECL wine_alIsAuxiliaryEffectSlot(ALuint sid)
+static ALboolean CDECL wine_alIsAuxiliaryEffectSlot(ALuint sid)
 {
     return alIsAuxiliaryEffectSlot(sid);
 }
 
-ALvoid CDECL wine_alAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat value)
+static ALvoid CDECL wine_alAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat value)
 {
     alAuxiliaryEffectSlotf(sid, param, value);
 }
 
-ALvoid CDECL wine_alAuxiliaryEffectSlotfv(ALuint sid, ALenum param, const ALfloat* values)
+static ALvoid CDECL wine_alAuxiliaryEffectSlotfv(ALuint sid, ALenum param, const ALfloat* values)
 {
     alAuxiliaryEffectSlotfv(sid, param, values);
 }
 
-ALvoid CDECL wine_alAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint value)
+static ALvoid CDECL wine_alAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint value)
 {
     alAuxiliaryEffectSloti(sid, param, value);
 }
 
-ALvoid CDECL wine_alAuxiliaryEffectSlotiv(ALuint sid, ALenum param, const ALint* values)
+static ALvoid CDECL wine_alAuxiliaryEffectSlotiv(ALuint sid, ALenum param, const ALint* values)
 {
     alAuxiliaryEffectSlotiv(sid, param, values);
 }
 
-ALvoid CDECL wine_alGetAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat* value)
+static ALvoid CDECL wine_alGetAuxiliaryEffectSlotf(ALuint sid, ALenum param, ALfloat* value)
 {
     alGetAuxiliaryEffectSlotf(sid, param, value);
 }
 
-ALvoid CDECL wine_alGetAuxiliaryEffectSlotfv(ALuint sid, ALenum param, ALfloat* values)
+static ALvoid CDECL wine_alGetAuxiliaryEffectSlotfv(ALuint sid, ALenum param, ALfloat* values)
 {
     alGetAuxiliaryEffectSlotfv(sid, param, values);
 }
 
-ALvoid CDECL wine_alGetAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint* value)
+static ALvoid CDECL wine_alGetAuxiliaryEffectSloti(ALuint sid, ALenum param, ALint* value)
 {
     alGetAuxiliaryEffectSloti(sid, param, value);
 }
 
-ALvoid CDECL wine_alGetAuxiliaryEffectSlotiv(ALuint sid, ALenum param, ALint* values)
+static ALvoid CDECL wine_alGetAuxiliaryEffectSlotiv(ALuint sid, ALenum param, ALint* values)
 {
     alGetAuxiliaryEffectSlotiv(sid, param, values);
 }
 
 
 /* Thread-local context functions */
-ALCboolean CDECL wine_alcSetThreadContext(ALCcontext *context)
+static ALCboolean CDECL wine_alcSetThreadContext(ALCcontext *context)
 {
     EnterCriticalSection(&openal_cs);
     if(alcSetThreadContext(context) == ALC_FALSE)
@@ -878,7 +878,7 @@ ALCboolean CDECL wine_alcSetThreadContext(ALCcontext *context)
     return ALC_TRUE;
 }
 
-ALCcontext* CDECL wine_alcGetThreadContext(ALCvoid)
+static ALCcontext* CDECL wine_alcGetThreadContext(ALCvoid)
 {
     return alcGetThreadContext();
 }
-- 
1.7.4.1




More information about the wine-patches mailing list