From 30b3f68ddfb3f99b9a03d4785137082d8abe63a8 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 2 Dec 2010 01:05:29 -0800 Subject: [PATCH] Make a function static --- Alc/ALc.c | 4 +++- OpenAL32/Include/alMain.h | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Alc/ALc.c b/Alc/ALc.c index bf2f07ec..a0fce4ec 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -374,6 +374,8 @@ static FILE *LogFile; /////////////////////////////////////////////////////// // ALC Related helper functions +static void ReleaseALC(void); + #ifdef HAVE_GCC_DESTRUCTOR static void alc_init(void) __attribute__((constructor)); static void alc_deinit(void) __attribute__((destructor)); @@ -2180,7 +2182,7 @@ ALC_API ALCboolean ALC_APIENTRY alcCloseDevice(ALCdevice *pDevice) } -ALCvoid ReleaseALC(ALCvoid) +static void ReleaseALC(void) { free(alcDeviceList); alcDeviceList = NULL; alcDeviceListSize = 0; diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index dbf3ef90..5d6f9b98 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -438,8 +438,6 @@ struct ALCcontext_struct ALCcontext *next; }; -ALCvoid ReleaseALC(ALCvoid); - void AppendDeviceList(const ALCchar *name); void AppendAllDeviceList(const ALCchar *name); void AppendCaptureDeviceList(const ALCchar *name);