summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/libbsdport/malloc.c
blob: 116b0e5da32fa6ab8cd7eabee3ad172005a3c865 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>

/* sometimes we want the original versions,
 * not malloc/free shadowed by rtems' bsdnet port
 */

void *
real_libc_malloc(size_t s)
{
	return malloc(s);
}

void
real_libc_free(void *p)
{
	free(p);
}