Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@octasic.com>2010-07-08 22:35:29 +0400
committerJean-Marc Valin <jean-marc.valin@octasic.com>2010-07-08 22:35:29 +0400
commit2b5a2e7be9c08e70884b7d5673c80ac617827969 (patch)
tree687f1482447e475d9faf3d3af0b77b9648842d04 /libcelt/os_support.h
parentd43d09587ae3233f89b6e06a31d21094e677aad2 (diff)
Fix accidental change of celt_alloc() to non-inline
Diffstat (limited to 'libcelt/os_support.h')
-rw-r--r--libcelt/os_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/os_support.h b/libcelt/os_support.h
index a02c131..8a47df9 100644
--- a/libcelt/os_support.h
+++ b/libcelt/os_support.h
@@ -45,7 +45,7 @@
/** CELT wrapper for calloc(). To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_free
NOTE: celt_alloc needs to CLEAR THE MEMORY */
#ifndef OVERRIDE_CELT_ALLOC
-static void *celt_alloc (int size)
+static inline void *celt_alloc (int size)
{
/* WARNING: this is not equivalent to malloc(). If you want to use malloc()
or your own allocator, YOU NEED TO CLEAR THE MEMORY ALLOCATED. Otherwise