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 |