diff options
author | Chris Robinson <[email protected]> | 2010-03-22 15:12:20 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-22 15:12:20 -0700 |
commit | ae8858c5168c9076ae834ba0cebe127b7daf57b9 (patch) | |
tree | 2f53afaa2d9d423756af825980de81bf42b0258c /OpenAL32/alExtension.c | |
parent | 06914868132b0bde1eda2b9fc3de926fcc894ded (diff) |
Whitespace fixes
Diffstat (limited to 'OpenAL32/alExtension.c')
-rw-r--r-- | OpenAL32/alExtension.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenAL32/alExtension.c b/OpenAL32/alExtension.c index 653c74ca..83109a47 100644 --- a/OpenAL32/alExtension.c +++ b/OpenAL32/alExtension.c @@ -35,7 +35,7 @@ #include "AL/al.h" #include "AL/alc.h" -static ALfunction function[]= { +static ALfunction function[] = { { "alEnable", (ALvoid *) alEnable }, { "alDisable", (ALvoid *) alDisable }, { "alIsEnabled", (ALvoid *) alIsEnabled }, @@ -166,9 +166,10 @@ static ALfunction function[]= { { "alMapDatabufferEXT", (ALvoid *) alMapDatabufferEXT }, { "alUnmapDatabufferEXT", (ALvoid *) alUnmapDatabufferEXT }, - { NULL, (ALvoid *) NULL } }; + { NULL, (ALvoid *) NULL } +}; -static ALenums enumeration[]={ +static ALenums enumeration[] = { // Types { (ALchar *)"AL_INVALID", AL_INVALID }, { (ALchar *)"AL_NONE", AL_NONE }, @@ -430,12 +431,11 @@ AL_API ALboolean AL_APIENTRY alIsExtensionPresent(const ALchar *extName) } -AL_API ALvoid * AL_APIENTRY alGetProcAddress(const ALchar *funcName) +AL_API ALvoid* AL_APIENTRY alGetProcAddress(const ALchar *funcName) { ALsizei i = 0; - while(function[i].funcName && - strcmp((char*)function[i].funcName, (char*)funcName) != 0) + while(function[i].funcName && strcmp(function[i].funcName, funcName) != 0) i++; return function[i].address; |