diff options
Diffstat (limited to 'cpukit/libnetworking/rtems/rtems_bsdnet_malloc_starvation.c')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_bsdnet_malloc_starvation.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_bsdnet_malloc_starvation.c b/cpukit/libnetworking/rtems/rtems_bsdnet_malloc_starvation.c new file mode 100644 index 0000000000..5e7d45d713 --- /dev/null +++ b/cpukit/libnetworking/rtems/rtems_bsdnet_malloc_starvation.c @@ -0,0 +1,19 @@ +/* + * Routine called when malloc() is not succeeding. This can be overridden + * by a BSP. + * + * $Id* + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdio.h> +#include <rtems/rtems_bsdnet.h> + +void +rtems_bsdnet_malloc_starvation(void) +{ + printf ("rtems_bsdnet_malloc still waiting.\n"); +} |