From 41880b217740f50aab36b3af480cf39df8c4230a Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 18 Apr 2012 17:40:39 +0200 Subject: [PATCH] Move M_IOV to reduce dependencies --- rtemsbsd/src/rtems-bsd-generic.c | 2 -- rtemsbsd/src/rtems-bsd-malloc.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/src/rtems-bsd-generic.c b/rtemsbsd/src/rtems-bsd-generic.c index bba9fd76..1fcd811f 100644 --- a/rtemsbsd/src/rtems-bsd-generic.c +++ b/rtemsbsd/src/rtems-bsd-generic.c @@ -36,8 +36,6 @@ #include #include -MALLOC_DEFINE(M_IOV, "iov", "large iov's"); - void selrecord(struct thread *selector, struct selinfo *sip) { BSD_PANIC("not implemented"); diff --git a/rtemsbsd/src/rtems-bsd-malloc.c b/rtemsbsd/src/rtems-bsd-malloc.c index 47355497..41711ac9 100644 --- a/rtemsbsd/src/rtems-bsd-malloc.c +++ b/rtemsbsd/src/rtems-bsd-malloc.c @@ -35,6 +35,8 @@ MALLOC_DEFINE(M_TEMP, "temp", "misc temporary data buffers"); MALLOC_DEFINE(M_IP6OPT, "ip6opt", "IPv6 options"); MALLOC_DEFINE(M_IP6NDP, "ip6ndp", "IPv6 Neighbor Discovery"); +MALLOC_DEFINE(M_IOV, "iov", "large iov's"); + void malloc_init(void *data) {