src/allocator.c

changeset 654
c9d008861178
parent 650
77021e06b1a8
child 726
44986c0e2b05
equal deleted inserted replaced
647:2e6e9d9f2159 654:c9d008861178
25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "cx/allocator.h" 29 #include "cx/allocator.h"
30
31 #include <stdlib.h>
32 30
33 __attribute__((__malloc__, __alloc_size__(2))) 31 __attribute__((__malloc__, __alloc_size__(2)))
34 static void *cx_malloc_stdlib( 32 static void *cx_malloc_stdlib(
35 __attribute__((__unused__)) void *d, 33 __attribute__((__unused__)) void *d,
36 size_t n 34 size_t n

mercurial