summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-13 16:54:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-13 16:54:54 +0000
commit5c1023a03442da3b5272bc528233277eae198fe6 (patch)
tree8a1b9812101f198bf3edec97495d0cbb46ca28c2
parent2006-09-13 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-5c1023a03442da3b5272bc528233277eae198fe6.tar.bz2
2006-09-13 Joel Sherrill <joel@OARcorp.com>
* libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding prototype of malloc.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libnetworking/rtems/rtems_malloc_mbuf.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 4d160afa81..c1feff2c34 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2006-09-13 Joel Sherrill <joel@OARcorp.com>
+ * libnetworking/rtems/rtems_malloc_mbuf.c: Removed warning by adding
+ prototype of malloc.
+
+2006-09-13 Joel Sherrill <joel@OARcorp.com>
+
* libmisc/stackchk/check.c, libmisc/stackchk/internal.h,
libmisc/stackchk/stackchk.h: Move stack to first class citizen
status. Include it in User Manual and rename to start with rtems_.
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);
}