diff options
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_malloc_mbuf.c')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_malloc_mbuf.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c b/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c deleted file mode 100644 index a12e3298bf..0000000000 --- a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c +++ /dev/null @@ -1,33 +0,0 @@ -#include <machine/rtems-bsd-kernel-space.h> - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#define RTEMS_FAST_MUTEX - -#include <string.h> -#include <stdarg.h> -#include <stdio.h> -#include <errno.h> - -#include <rtems.h> -#include <rtems/rtems_bsdnet.h> - -/* - * We want to use the REAL system malloc. Do not let the BSD malloc macro - * invade this file. - */ -extern void *malloc(size_t); - -/* - * Default allocator for mbuf data. Over-ride in user code to change - * the way mbuf's are allocated. - */ - -void* rtems_bsdnet_malloc_mbuf(size_t size, int type) -{ - return malloc(size); -} - - |