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) {