summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-13 16:55:34 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2006-09-13 16:55:34 +0000
commit8afb74104aff3e1ece21c912954f2d917b55e6ce (patch)
tree8ca4cf734b5abebf618b0389c0679e4caf7d2d97 /cpukit/libnetworking
parent2006-09-13 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-8afb74104aff3e1ece21c912954f2d917b55e6ce.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')
-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);
}