Commit ddb901e3 authored by David Reid's avatar David Reid

Silence some unused function warnings.

parent a8fdb966
...@@ -4803,7 +4803,7 @@ static void* ma__realloc_from_callbacks(void* p, size_t szNew, size_t szOld, con ...@@ -4803,7 +4803,7 @@ static void* ma__realloc_from_callbacks(void* p, size_t szNew, size_t szOld, con
return NULL; return NULL;
} }
static void* ma__calloc_from_callbacks(size_t sz, const ma_allocation_callbacks* pAllocationCallbacks) static MA_INLINE void* ma__calloc_from_callbacks(size_t sz, const ma_allocation_callbacks* pAllocationCallbacks)
{ {
void* p = ma__malloc_from_callbacks(sz, pAllocationCallbacks); void* p = ma__malloc_from_callbacks(sz, pAllocationCallbacks);
if (p != NULL) { if (p != NULL) {
...@@ -5226,7 +5226,7 @@ static double ma_timer_get_time_in_seconds(ma_timer* pTimer) ...@@ -5226,7 +5226,7 @@ static double ma_timer_get_time_in_seconds(ma_timer* pTimer)
Dynamic Linking Dynamic Linking
*******************************************************************************/ *******************************************************************************/
static ma_handle ma_dlopen(ma_context* pContext, const char* filename) ma_handle ma_dlopen(ma_context* pContext, const char* filename)
{ {
ma_handle handle; ma_handle handle;
...@@ -5270,7 +5270,7 @@ static ma_handle ma_dlopen(ma_context* pContext, const char* filename) ...@@ -5270,7 +5270,7 @@ static ma_handle ma_dlopen(ma_context* pContext, const char* filename)
return handle; return handle;
} }
static void ma_dlclose(ma_context* pContext, ma_handle handle) void ma_dlclose(ma_context* pContext, ma_handle handle)
{ {
#ifdef _WIN32 #ifdef _WIN32
FreeLibrary((HMODULE)handle); FreeLibrary((HMODULE)handle);
...@@ -5281,7 +5281,7 @@ static void ma_dlclose(ma_context* pContext, ma_handle handle) ...@@ -5281,7 +5281,7 @@ static void ma_dlclose(ma_context* pContext, ma_handle handle)
(void)pContext; (void)pContext;
} }
static ma_proc ma_dlsym(ma_context* pContext, ma_handle handle, const char* symbol) ma_proc ma_dlsym(ma_context* pContext, ma_handle handle, const char* symbol)
{ {
ma_proc proc; ma_proc proc;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment