src/allocator.c

changeset 650
77021e06b1a8
parent 628
1e2be40f0cb5
child 726
44986c0e2b05
equal deleted inserted replaced
649:12c2b10b51a9 650:77021e06b1a8
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