Make a function static

This commit is contained in:
Chris Robinson 2010-12-02 01:05:29 -08:00
parent 75552f2765
commit 30b3f68ddf
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);