aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-12-02 01:05:29 -0800
committerChris Robinson <[email protected]>2010-12-02 01:05:29 -0800
commit30b3f68ddfb3f99b9a03d4785137082d8abe63a8 (patch)
tree67e6157d92c8c34f2085e1718d59d4a662259f46 /Alc/ALc.c
parent75552f2765c78e531019c368fd16e7a170e27eb3 (diff)
Make a function static
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c4
1 files changed, 3 insertions, 1 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;