summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/rtems
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 /cpukit/libnetworking/rtems
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.
Diffstat (limited to 'cpukit/libnetworking/rtems')
-rw-r--r--cpukit/libnetworking/rtems/rtems_malloc_mbuf.c1
1 files changed, 1 insertions, 0 deletions
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);
}