From 08879ca34c55b941acb6cae1ab5f7a9874fb2131 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 8 Aug 2014 12:31:23 -0600 Subject: [PATCH] Move POSIX message queue files from sched/ to sched/mqueue --- sched/Makefile | 26 ++++-------- sched/group_leave.c | 2 +- sched/mqueue/Make.defs | 52 ++++++++++++++++++++++++ sched/{ => mqueue}/mq_close.c | 4 +- sched/{ => mqueue}/mq_descreate.c | 4 +- sched/{ => mqueue}/mq_findnamed.c | 4 +- sched/{ => mqueue}/mq_initialize.c | 4 +- sched/{ => mqueue}/mq_msgfree.c | 4 +- sched/{ => mqueue}/mq_msgqfree.c | 4 +- sched/{ => mqueue}/mq_notify.c | 4 +- sched/{ => mqueue}/mq_open.c | 4 +- sched/{ => mqueue}/mq_rcvinternal.c | 4 +- sched/{ => mqueue}/mq_receive.c | 4 +- sched/{ => mqueue}/mq_recover.c | 4 +- sched/{ => mqueue}/mq_release.c | 4 +- sched/{ => mqueue}/mq_send.c | 4 +- sched/{ => mqueue}/mq_sndinternal.c | 4 +- sched/{ => mqueue}/mq_timedreceive.c | 4 +- sched/{ => mqueue}/mq_timedsend.c | 4 +- sched/{ => mqueue}/mq_unlink.c | 2 +- sched/{ => mqueue}/mq_waitirq.c | 4 +- sched/{mq_internal.h => mqueue/mqueue.h} | 10 ++--- sched/os_start.c | 2 +- sched/sig_dispatch.c | 2 +- sched/task_recover.c | 2 +- 25 files changed, 103 insertions(+), 63 deletions(-) create mode 100644 sched/mqueue/Make.defs rename sched/{ => mqueue}/mq_close.c (99%) rename sched/{ => mqueue}/mq_descreate.c (98%) rename sched/{ => mqueue}/mq_findnamed.c (98%) rename sched/{ => mqueue}/mq_initialize.c (99%) rename sched/{ => mqueue}/mq_msgfree.c (98%) rename sched/{ => mqueue}/mq_msgqfree.c (98%) rename sched/{ => mqueue}/mq_notify.c (99%) rename sched/{ => mqueue}/mq_open.c (99%) rename sched/{ => mqueue}/mq_rcvinternal.c (99%) rename sched/{ => mqueue}/mq_receive.c (99%) rename sched/{ => mqueue}/mq_recover.c (98%) rename sched/{ => mqueue}/mq_release.c (98%) rename sched/{ => mqueue}/mq_send.c (99%) rename sched/{ => mqueue}/mq_sndinternal.c (99%) rename sched/{ => mqueue}/mq_timedreceive.c (99%) rename sched/{ => mqueue}/mq_timedsend.c (99%) rename sched/{ => mqueue}/mq_unlink.c (99%) rename sched/{ => mqueue}/mq_waitirq.c (98%) rename sched/{mq_internal.h => mqueue/mqueue.h} (96%) diff --git a/sched/Makefile b/sched/Makefile index 0f0a1c4c80..cfaf96f16c 100644 --- a/sched/Makefile +++ b/sched/Makefile @@ -35,6 +35,9 @@ -include $(TOPDIR)/Make.defs +VPATH = +DEPPATH = --dep-path . + ASRCS = AOBJS = $(ASRCS:.S=$(OBJEXT)) @@ -142,19 +145,6 @@ SIGNAL_SRCS += sig_removependingsignal.c sig_releasependingsignal.c sig_lowest.c SIGNAL_SRCS += sig_mqnotempty.c sig_cleanup.c sig_dispatch.c sig_deliver.c SIGNAL_SRCS += pause.c -MQUEUE_SRCS = mq_open.c mq_close.c mq_unlink.c mq_send.c mq_timedsend.c -MQUEUE_SRCS += mq_sndinternal.c mq_receive.c mq_timedreceive.c mq_rcvinternal.c -MQUEUE_SRCS += mq_initialize.c mq_descreate.c mq_findnamed.c mq_msgfree.c -MQUEUE_SRCS += mq_msgqfree.c mq_release.c mq_recover.c - -ifneq ($(CONFIG_DISABLE_SIGNALS),y) -MQUEUE_SRCS += mq_waitirq.c -endif - -ifneq ($(CONFIG_DISABLE_SIGNALS),y) -MQUEUE_SRCS += mq_notify.c -endif - PTHREAD_SRCS = pthread_create.c pthread_exit.c pthread_join.c pthread_detach.c PTHREAD_SRCS += pthread_yield.c pthread_getschedparam.c pthread_setschedparam.c PTHREAD_SRCS += pthread_mutexinit.c pthread_mutexdestroy.c @@ -193,9 +183,11 @@ endif IRQ_SRCS = irq_initialize.c irq_attach.c irq_dispatch.c irq_unexpectedisr.c +include mqueue/Make.defs + CSRCS = $(MISC_SRCS) $(TSK_SRCS) $(GRP_SRCS) $(SCHED_SRCS) $(WDOG_SRCS) CSRCS += $(TIME_SRCS) $(SEM_SRCS) $(TIMER_SRCS) $(PGFILL_SRCS) -CSRCS += $(IRQ_SRCS) $(CLOCK_SRCS) +CSRCS += $(IRQ_SRCS) $(CLOCK_SRCS) $(MQUEUE_SRCS) ifneq ($(CONFIG_DISABLE_PTHREAD),y) CSRCS += $(PTHREAD_SRCS) @@ -205,10 +197,6 @@ ifneq ($(CONFIG_DISABLE_SIGNALS),y) CSRCS += $(SIGNAL_SRCS) endif -ifneq ($(CONFIG_DISABLE_MQUEUE),y) -CSRCS += $(MQUEUE_SRCS) -endif - ifneq ($(CONFIG_DISABLE_ENVIRON),y) CSRCS += $(ENV_SRCS) endif @@ -233,7 +221,7 @@ $(BIN): $(OBJS) $(call ARCHIVE, $@, $(OBJS)) .depend: Makefile $(SRCS) - $(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep + $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@ depend: .depend diff --git a/sched/group_leave.c b/sched/group_leave.c index 15bbea740f..9f672573cc 100644 --- a/sched/group_leave.c +++ b/sched/group_leave.c @@ -51,7 +51,7 @@ #include "env_internal.h" #include "sig_internal.h" #include "pthread_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" #include "group_internal.h" #ifdef HAVE_TASK_GROUP diff --git a/sched/mqueue/Make.defs b/sched/mqueue/Make.defs new file mode 100644 index 0000000000..55952862c2 --- /dev/null +++ b/sched/mqueue/Make.defs @@ -0,0 +1,52 @@ +############################################################################ +# sched/mqueue/Make.defs +# +# Copyright (C) 2014 Gregory Nutt. All rights reserved. +# Author: Gregory Nutt +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. Neither the name NuttX nor the names of its contributors may be +# used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS +# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. +# +############################################################################ + +ifneq ($(CONFIG_DISABLE_MQUEUE),y) + +MQUEUE_SRCS = mq_open.c mq_close.c mq_unlink.c mq_send.c mq_timedsend.c +MQUEUE_SRCS += mq_sndinternal.c mq_receive.c mq_timedreceive.c mq_rcvinternal.c +MQUEUE_SRCS += mq_initialize.c mq_descreate.c mq_findnamed.c mq_msgfree.c +MQUEUE_SRCS += mq_msgqfree.c mq_release.c mq_recover.c + +ifneq ($(CONFIG_DISABLE_SIGNALS),y) +MQUEUE_SRCS += mq_waitirq.c mq_notify.c +endif + +# Include mq build support + +DEPPATH += --dep-path mqueue +VPATH += :mqueue + +endif \ No newline at end of file diff --git a/sched/mq_close.c b/sched/mqueue/mq_close.c similarity index 99% rename from sched/mq_close.c rename to sched/mqueue/mq_close.c index 0ca13bd565..237754173c 100644 --- a/sched/mq_close.c +++ b/sched/mqueue/mq_close.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_close.c + * sched/mqueue/mq_close.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -44,7 +44,7 @@ #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/mq_descreate.c b/sched/mqueue/mq_descreate.c similarity index 98% rename from sched/mq_descreate.c rename to sched/mqueue/mq_descreate.c index 0b315e7cde..7043bf0558 100644 --- a/sched/mq_descreate.c +++ b/sched/mqueue/mq_descreate.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_descreate.c + * sched/mqueue/mq_descreate.c * * Copyright (C) 2007-2009, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -54,7 +54,7 @@ #include "os_internal.h" #include "sig_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/mq_findnamed.c b/sched/mqueue/mq_findnamed.c similarity index 98% rename from sched/mq_findnamed.c rename to sched/mqueue/mq_findnamed.c index d23b81c5ed..0ef4f221da 100644 --- a/sched/mq_findnamed.c +++ b/sched/mqueue/mq_findnamed.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_findnamed.c + * sched/mqueue/mq_findnamed.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -41,7 +41,7 @@ #include -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Definitions diff --git a/sched/mq_initialize.c b/sched/mqueue/mq_initialize.c similarity index 99% rename from sched/mq_initialize.c rename to sched/mqueue/mq_initialize.c index dd7c7ed0f5..0c6fd025a9 100644 --- a/sched/mq_initialize.c +++ b/sched/mqueue/mq_initialize.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_initialize.c + * sched/mqueue/mq_initialize.c * * Copyright (C) 2007, 2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -43,7 +43,7 @@ #include #include -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Definitions diff --git a/sched/mq_msgfree.c b/sched/mqueue/mq_msgfree.c similarity index 98% rename from sched/mq_msgfree.c rename to sched/mqueue/mq_msgfree.c index 23ccc3a8ef..33c06f09bb 100644 --- a/sched/mq_msgfree.c +++ b/sched/mqueue/mq_msgfree.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_msgfree.c + * sched/mqueue/mq_msgfree.c * * Copyright (C) 2007, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -42,7 +42,7 @@ #include #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Definitions diff --git a/sched/mq_msgqfree.c b/sched/mqueue/mq_msgqfree.c similarity index 98% rename from sched/mq_msgqfree.c rename to sched/mqueue/mq_msgqfree.c index bea598b561..808e021e32 100644 --- a/sched/mq_msgqfree.c +++ b/sched/mqueue/mq_msgqfree.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_msgqfree.c + * sched/mqueue/mq_msgqfree.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -41,7 +41,7 @@ #include #include -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Definitions diff --git a/sched/mq_notify.c b/sched/mqueue/mq_notify.c similarity index 99% rename from sched/mq_notify.c rename to sched/mqueue/mq_notify.c index ee4ddcdd1f..ffb159af0b 100644 --- a/sched/mq_notify.c +++ b/sched/mqueue/mq_notify.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_notify.c + * sched/mqueue/mq_notify.c * * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -45,7 +45,7 @@ #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Definitions diff --git a/sched/mq_open.c b/sched/mqueue/mq_open.c similarity index 99% rename from sched/mq_open.c rename to sched/mqueue/mq_open.c index 7a4e39010a..e117617360 100644 --- a/sched/mq_open.c +++ b/sched/mqueue/mq_open.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_open.c + * sched/mqueue/mq_open.c * * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -52,7 +52,7 @@ #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/mq_rcvinternal.c b/sched/mqueue/mq_rcvinternal.c similarity index 99% rename from sched/mq_rcvinternal.c rename to sched/mqueue/mq_rcvinternal.c index 3ccc60dcae..ecd4513440 100644 --- a/sched/mq_rcvinternal.c +++ b/sched/mqueue/mq_rcvinternal.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_rcvinternal.c + * sched/mqueue/mq_rcvinternal.c * * Copyright (C) 2007, 2008, 2012-2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -51,7 +51,7 @@ #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/mq_receive.c b/sched/mqueue/mq_receive.c similarity index 99% rename from sched/mq_receive.c rename to sched/mqueue/mq_receive.c index 7604334464..d46cd3207d 100644 --- a/sched/mq_receive.c +++ b/sched/mqueue/mq_receive.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_receive.c + * sched/mqueue/mq_receive.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -46,7 +46,7 @@ #include #include -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Pre-processor Definitions diff --git a/sched/mq_recover.c b/sched/mqueue/mq_recover.c similarity index 98% rename from sched/mq_recover.c rename to sched/mqueue/mq_recover.c index 4c3dbed47f..4ba587b508 100644 --- a/sched/mq_recover.c +++ b/sched/mqueue/mq_recover.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_recover.c + * sched/mqueue/mq_recover.c * * Copyright (C) 2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -44,7 +44,7 @@ #include #include -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Definitions diff --git a/sched/mq_release.c b/sched/mqueue/mq_release.c similarity index 98% rename from sched/mq_release.c rename to sched/mqueue/mq_release.c index c1d59b0ce5..ad33a4ce61 100644 --- a/sched/mq_release.c +++ b/sched/mqueue/mq_release.c @@ -1,5 +1,5 @@ /************************************************************************ - * sched/mq_release.c + * sched/mqueue/mq_release.c * * Copyright (C) 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -41,7 +41,7 @@ #include -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Definitions diff --git a/sched/mq_send.c b/sched/mqueue/mq_send.c similarity index 99% rename from sched/mq_send.c rename to sched/mqueue/mq_send.c index 661cbbe876..97f37c5c1b 100644 --- a/sched/mq_send.c +++ b/sched/mqueue/mq_send.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_send.c + * sched/mqueue/mq_send.c * * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -47,7 +47,7 @@ #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/mq_sndinternal.c b/sched/mqueue/mq_sndinternal.c similarity index 99% rename from sched/mq_sndinternal.c rename to sched/mqueue/mq_sndinternal.c index 21468de1ca..08764f0d85 100644 --- a/sched/mq_sndinternal.c +++ b/sched/mqueue/mq_sndinternal.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_send.c + * sched/mqueue/mq_send.c * * Copyright (C) 2007, 2009, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -55,7 +55,7 @@ #ifndef CONFIG_DISABLE_SIGNALS # include "sig_internal.h" #endif -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/mq_timedreceive.c b/sched/mqueue/mq_timedreceive.c similarity index 99% rename from sched/mq_timedreceive.c rename to sched/mqueue/mq_timedreceive.c index 774374edab..081959c9c2 100644 --- a/sched/mq_timedreceive.c +++ b/sched/mqueue/mq_timedreceive.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_timedreceive.c + * sched/mqueue/mq_timedreceive.c * * Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -52,7 +52,7 @@ #include "os_internal.h" #include "clock_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Pre-processor Definitions diff --git a/sched/mq_timedsend.c b/sched/mqueue/mq_timedsend.c similarity index 99% rename from sched/mq_timedsend.c rename to sched/mqueue/mq_timedsend.c index d36daf8199..b3e79d48ed 100644 --- a/sched/mq_timedsend.c +++ b/sched/mqueue/mq_timedsend.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_timedsend.c + * sched/mqueue/mq_timedsend.c * * Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -51,7 +51,7 @@ #include "clock_internal.h" #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Pre-processor Definitions diff --git a/sched/mq_unlink.c b/sched/mqueue/mq_unlink.c similarity index 99% rename from sched/mq_unlink.c rename to sched/mqueue/mq_unlink.c index 82db5a7c1f..2da4780fca 100644 --- a/sched/mq_unlink.c +++ b/sched/mqueue/mq_unlink.c @@ -44,7 +44,7 @@ #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /************************************************************************ * Pre-processor Definitions diff --git a/sched/mq_waitirq.c b/sched/mqueue/mq_waitirq.c similarity index 98% rename from sched/mq_waitirq.c rename to sched/mqueue/mq_waitirq.c index f1dd67eb8d..f801bb1c93 100644 --- a/sched/mq_waitirq.c +++ b/sched/mqueue/mq_waitirq.c @@ -1,5 +1,5 @@ /**************************************************************************** - * sched/mq_waitirq.c + * sched/mqueue/mq_waitirq.c * * Copyright (C) 2007-2009, 2011, 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -45,7 +45,7 @@ #include #include -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/mq_internal.h b/sched/mqueue/mqueue.h similarity index 96% rename from sched/mq_internal.h rename to sched/mqueue/mqueue.h index 8196b573b2..240bc26e6a 100644 --- a/sched/mq_internal.h +++ b/sched/mqueue/mqueue.h @@ -1,7 +1,7 @@ /**************************************************************************** - * sched/mq_internal.h + * sched/mqueue/mqueue.h * - * Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2007, 2009, 2011, 2013-2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -33,8 +33,8 @@ * ****************************************************************************/ -#ifndef __SCHED_MQ_INTERNAL_H -#define __SCHED_MQ_INTERNAL_H +#ifndef __SCHED_MQUEUE_MQUEUE_H +#define __SCHED_MQUEUE_MQUEUE_H /**************************************************************************** * Included Files @@ -187,5 +187,5 @@ void mq_recover(FAR struct tcb_s *tcb); #endif #endif /* CONFIG_MQ_MAXMSGSIZE > 0 */ -#endif /* __SCHED_MQ_INTERNAL_H */ +#endif /* __SCHED_MQUEUE_MQUEUE_H */ diff --git a/sched/os_start.c b/sched/os_start.c index 53cebdd8d4..c930e4bb55 100644 --- a/sched/os_start.c +++ b/sched/os_start.c @@ -56,7 +56,7 @@ #include "wd_internal.h" #include "sem_internal.h" #ifndef CONFIG_DISABLE_MQUEUE -# include "mq_internal.h" +# include "mqueue/mqueue.h" #endif #ifndef CONFIG_DISABLE_PTHREAD # include "pthread_internal.h" diff --git a/sched/sig_dispatch.c b/sched/sig_dispatch.c index e59d0e73c3..f985778853 100644 --- a/sched/sig_dispatch.c +++ b/sched/sig_dispatch.c @@ -52,7 +52,7 @@ #include "group_internal.h" #include "sem_internal.h" #include "sig_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions diff --git a/sched/task_recover.c b/sched/task_recover.c index 1185f4f7fc..1907a9fe49 100644 --- a/sched/task_recover.c +++ b/sched/task_recover.c @@ -45,7 +45,7 @@ #include #include "os_internal.h" -#include "mq_internal.h" +#include "mqueue/mqueue.h" /**************************************************************************** * Definitions