From 5c1023a03442da3b5272bc528233277eae198fe6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 13 Sep 2006 16:54:54 +0000 Subject: 2006-09-13 Joel Sherrill * libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding prototype of malloc. --- cpukit/ChangeLog | 5 +++++ cpukit/libnetworking/rtems/rtems_malloc_mbuf.c | 1 + 2 files changed, 6 insertions(+) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4d160afa81..c1feff2c34 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2006-09-13 Joel Sherrill + + * libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding + prototype of malloc. + 2006-09-13 Joel Sherrill * libmisc/stackchk/check.c, libmisc/stackchk/internal.h, diff --git a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c b/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c index d5654c8297..ca7f527614 100644 --- a/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c +++ b/cpukit/libnetworking/rtems/rtems_malloc_mbuf.c @@ -27,6 +27,7 @@ void* rtems_bsdnet_malloc_mbuf(size_t size, int type) { + extern void *malloc(size_t); return malloc(size); } -- cgit v1.2.3