From 9ab2426199e860d5e2f40468c42c33ef0c5f1fb1 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 9 Sep 2007 11:58:50 +0000 Subject: [PATCH] Added network init; refactored some header files git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@338 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/arch/pjrc-8051/src/up_allocateheap.c | 1 + nuttx/arch/sim/src/up_head.c | 2 +- nuttx/configs/ntosd-dm320/defconfig | 2 +- nuttx/configs/pjrc-8051/defconfig | 2 +- nuttx/examples/ostest/dev_null.c | 1 - nuttx/examples/ostest/main.c | 2 +- .../include/nuttx/{os_external.h => clock.h} | 29 +------ nuttx/include/nuttx/init.h | 83 +++++++++++++++++++ nuttx/include/nuttx/mm.h | 83 +++++++++++++++++++ nuttx/include/nuttx/net.h | 2 +- nuttx/lib/lib_init.c | 2 +- nuttx/mm/mm_environment.h | 2 +- nuttx/net/net-dsec2timeval.c | 1 + nuttx/net/net-internal.h | 2 +- nuttx/net/net-sockets.c | 9 ++ nuttx/net/net-timeo.c | 2 +- nuttx/net/net-timeval2dsec.c | 1 + nuttx/net/recvfrom.c | 1 + nuttx/sched/clock_internal.h | 2 +- nuttx/sched/mq_descreate.c | 1 - nuttx/sched/mq_getattr.c | 1 - nuttx/sched/mq_rcvinternal.c | 1 - nuttx/sched/os_internal.h | 1 - nuttx/sched/os_start.c | 15 +++- nuttx/sched/pthread_setschedprio.c | 1 - nuttx/sched/sched_free.c | 1 + nuttx/sched/sched_getprioritymax.c | 1 - nuttx/sched/sched_getprioritymin.c | 1 - nuttx/sched/sched_getscheduler.c | 1 - nuttx/sched/sched_rrgetinterval.c | 1 - nuttx/sched/sched_setparam.c | 1 - nuttx/sched/sched_setscheduler.c | 1 - nuttx/sched/sched_yield.c | 1 - nuttx/sched/sig_internal.h | 1 - nuttx/sched/sig_procmask.c | 1 - nuttx/sched/sig_releasependingsignal.c | 1 - nuttx/sched/sig_removependingsignal.c | 1 - nuttx/sched/task_delete.c | 1 - nuttx/sched/task_restart.c | 1 - 39 files changed, 208 insertions(+), 55 deletions(-) rename nuttx/include/nuttx/{os_external.h => clock.h} (85%) create mode 100644 nuttx/include/nuttx/init.h create mode 100644 nuttx/include/nuttx/mm.h diff --git a/nuttx/arch/pjrc-8051/src/up_allocateheap.c b/nuttx/arch/pjrc-8051/src/up_allocateheap.c index 745cadb60..6ef1a77da 100644 --- a/nuttx/arch/pjrc-8051/src/up_allocateheap.c +++ b/nuttx/arch/pjrc-8051/src/up_allocateheap.c @@ -42,6 +42,7 @@ #include #include #include +#include #include "os_internal.h" #include "up_internal.h" #include "up_mem.h" diff --git a/nuttx/arch/sim/src/up_head.c b/nuttx/arch/sim/src/up_head.c index 1fc705b5b..e095deb7c 100644 --- a/nuttx/arch/sim/src/up_head.c +++ b/nuttx/arch/sim/src/up_head.c @@ -42,7 +42,7 @@ #include #include #include -#include +#include #include /************************************************************ diff --git a/nuttx/configs/ntosd-dm320/defconfig b/nuttx/configs/ntosd-dm320/defconfig index 36a3b8f46..abbae5f57 100644 --- a/nuttx/configs/ntosd-dm320/defconfig +++ b/nuttx/configs/ntosd-dm320/defconfig @@ -268,7 +268,7 @@ CONFIG_PREALLOC_TIMERS=8 # CONFIG_NET_LLH_LEN - The link level header length # CONFIG_NET_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally # CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates -CONFIG_NET=y +CONFIG_NET=n CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=0 CONFIG_NET_MAX_CONNECTIONS=40 diff --git a/nuttx/configs/pjrc-8051/defconfig b/nuttx/configs/pjrc-8051/defconfig index 513ce74e0..10024fd2b 100644 --- a/nuttx/configs/pjrc-8051/defconfig +++ b/nuttx/configs/pjrc-8051/defconfig @@ -256,7 +256,7 @@ CONFIG_PREALLOC_TIMERS=0 # CONFIG_NET_LLH_LEN - The link level header length # CONFIG_NET_EXTERNAL_BUFFER - Incoming packet buffer (uip_buf) is defined externally # CONFIG_NET_FWCACHE_SIZE - number of packets to remember when looking for duplicates -CONFIG_NET=y +CONFIG_NET=n CONFIG_NET_IPv6=n CONFIG_NSOCKET_DESCRIPTORS=0 CONFIG_NET_MAX_CONNECTIONS=40 diff --git a/nuttx/examples/ostest/dev_null.c b/nuttx/examples/ostest/dev_null.c index 55f6b0c25..57776b495 100644 --- a/nuttx/examples/ostest/dev_null.c +++ b/nuttx/examples/ostest/dev_null.c @@ -45,7 +45,6 @@ #include #include #include -#include #include "ostest.h" /************************************************************ diff --git a/nuttx/examples/ostest/main.c b/nuttx/examples/ostest/main.c index b7f0afbf3..0a44de78d 100644 --- a/nuttx/examples/ostest/main.c +++ b/nuttx/examples/ostest/main.c @@ -47,7 +47,7 @@ #include #include #include -#include +#include #include "ostest.h" /************************************************************ diff --git a/nuttx/include/nuttx/os_external.h b/nuttx/include/nuttx/clock.h similarity index 85% rename from nuttx/include/nuttx/os_external.h rename to nuttx/include/nuttx/clock.h index 410cdd622..b57b8e4f8 100644 --- a/nuttx/include/nuttx/os_external.h +++ b/nuttx/include/nuttx/clock.h @@ -1,5 +1,5 @@ /**************************************************************************** - * os_external.h + * nuttx/clock.h * * Copyright (C) 2007 Gregory Nutt. All rights reserved. * Author: Gregory Nutt @@ -33,16 +33,14 @@ * ****************************************************************************/ -#ifndef __OS_EXTERNAL_H -#define __OS_EXTERNAL_H +#ifndef __NUTTX_CLOCK_H +#define __NUTTX_CLOCK_H /**************************************************************************** * Included Files ****************************************************************************/ #include -#include -#include /**************************************************************************** * Definitions @@ -115,28 +113,9 @@ extern "C" { #define EXTERN extern #endif -/* These are functions that must be supplied by the application */ - -EXTERN void weak_function user_initialize(void); -EXTERN int user_start(int argc, char *argv[]); - -/* Functions contained in os_task.c *****************************************/ - -EXTERN void os_start(void); /* OS entry point called by boot logic */ - -/* Functions contained in mm_initialize.c ***********************************/ - -EXTERN void mm_initialize(FAR void *heap_start, size_t heap_size); -EXTERN void mm_addregion(FAR void *heapstart, size_t heapsize); - -/* Functions contained in mm_sem.c ******************************************/ - -EXTERN int mm_trysemaphore(void); -EXTERN void mm_givesemaphore(void); - #undef EXTERN #ifdef __cplusplus } #endif -#endif /* __OS_EXTERNAL_H */ +#endif /* __NUTTX_CLOCK_H */ diff --git a/nuttx/include/nuttx/init.h b/nuttx/include/nuttx/init.h new file mode 100644 index 000000000..e8fdcaf8c --- /dev/null +++ b/nuttx/include/nuttx/init.h @@ -0,0 +1,83 @@ +/**************************************************************************** + * nuttx/init.h + * + * Copyright (C) 2007 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 Gregory Nutt 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. + * + ****************************************************************************/ + +#ifndef __NUTTX_INIT_H +#define __NUTTX_INIT_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include +#include + +/**************************************************************************** + * Definitions + ****************************************************************************/ + +/**************************************************************************** + * Global Data + ****************************************************************************/ + +/**************************************************************************** + * Global Function Prototypes + ****************************************************************************/ + +/**************************************************************************** + * Global Function Prototypes + ****************************************************************************/ + +#ifdef __cplusplus +#define EXTERN extern "C" +extern "C" { +#else +#define EXTERN extern +#endif + +/* These are functions that must be supplied by the application */ + +EXTERN void weak_function user_initialize(void); +EXTERN int user_start(int argc, char *argv[]); + +/* Functions contained in os_task.c *****************************************/ + +EXTERN void os_start(void); /* OS entry point called by boot logic */ + +#undef EXTERN +#ifdef __cplusplus +} +#endif + +#endif /* __NUTTX_INIT_H */ diff --git a/nuttx/include/nuttx/mm.h b/nuttx/include/nuttx/mm.h new file mode 100644 index 000000000..8b537a570 --- /dev/null +++ b/nuttx/include/nuttx/mm.h @@ -0,0 +1,83 @@ +/**************************************************************************** + * nuttx/mm.h + * + * Copyright (C) 2007 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 Gregory Nutt 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. + * + ****************************************************************************/ + +#ifndef __NUTTX_MM_H +#define __NUTTX_MM_H + +/**************************************************************************** + * Included Files + ****************************************************************************/ + +#include + +/**************************************************************************** + * Definitions + ****************************************************************************/ + +/**************************************************************************** + * Global Data + ****************************************************************************/ + +/**************************************************************************** + * Global Function Prototypes + ****************************************************************************/ + +/**************************************************************************** + * Global Function Prototypes + ****************************************************************************/ + +#ifdef __cplusplus +#define EXTERN extern "C" +extern "C" { +#else +#define EXTERN extern +#endif + +/* Functions contained in mm_initialize.c ***********************************/ + +EXTERN void mm_initialize(FAR void *heap_start, size_t heap_size); +EXTERN void mm_addregion(FAR void *heapstart, size_t heapsize); + +/* Functions contained in mm_sem.c ******************************************/ + +EXTERN int mm_trysemaphore(void); +EXTERN void mm_givesemaphore(void); + +#undef EXTERN +#ifdef __cplusplus +} +#endif + +#endif /* __NUTTX_MM_H */ diff --git a/nuttx/include/nuttx/net.h b/nuttx/include/nuttx/net.h index 39596b76a..2f700a985 100644 --- a/nuttx/include/nuttx/net.h +++ b/nuttx/include/nuttx/net.h @@ -45,7 +45,6 @@ #include -#include #include #include @@ -126,6 +125,7 @@ extern "C" { /* net_sockets.c *************************************************************/ +EXTERN void weak_function net_initialize(void); EXTERN FAR struct socketlist *net_alloclist(void); EXTERN int net_addreflist(FAR struct socketlist *list); EXTERN int net_releaselist(FAR struct socketlist *list); diff --git a/nuttx/lib/lib_init.c b/nuttx/lib/lib_init.c index 8bf872c55..e071d68ae 100644 --- a/nuttx/lib/lib_init.c +++ b/nuttx/lib/lib_init.c @@ -42,7 +42,7 @@ #include #include #include -#include +#include #include "lib_internal.h" /************************************************************ diff --git a/nuttx/mm/mm_environment.h b/nuttx/mm/mm_environment.h index 8777323b0..0d315e8ef 100644 --- a/nuttx/mm/mm_environment.h +++ b/nuttx/mm/mm_environment.h @@ -54,7 +54,7 @@ # include # include # include -# include +# include #else # include # include diff --git a/nuttx/net/net-dsec2timeval.c b/nuttx/net/net-dsec2timeval.c index d9b81b436..0ff1ab2c2 100644 --- a/nuttx/net/net-dsec2timeval.c +++ b/nuttx/net/net-dsec2timeval.c @@ -43,6 +43,7 @@ #include #include #include +#include #include "net-internal.h" diff --git a/nuttx/net/net-internal.h b/nuttx/net/net-internal.h index 9f7fcaea0..b62099a16 100644 --- a/nuttx/net/net-internal.h +++ b/nuttx/net/net-internal.h @@ -43,6 +43,7 @@ #include #ifdef CONFIG_NET +#include #include #include "net-internal.h" @@ -115,7 +116,6 @@ extern "C" { /* net-sockets.c *************************************************************/ -EXTERN void weak_function net_initialize(void); EXTERN int sockfd_allocate(void); EXTERN void sockfd_release(int sockfd); EXTERN FAR struct socket *sockfd_socket(int sockfd); diff --git a/nuttx/net/net-sockets.c b/nuttx/net/net-sockets.c index 0d3b39a23..3a6821051 100644 --- a/nuttx/net/net-sockets.c +++ b/nuttx/net/net-sockets.c @@ -38,13 +38,17 @@ ****************************************************************************/ #include + #include #include #include #include #include + +#include #include #include + #include "net-internal.h" /**************************************************************************** @@ -91,6 +95,11 @@ static void _net_semtake(FAR struct socketlist *list) void net_initialize(void) { + /* Initialize the uIP layer */ + + uip_init(); + + /* Initialize the socket lay -- nothing to do */ } /* Allocate a list of files for a new task */ diff --git a/nuttx/net/net-timeo.c b/nuttx/net/net-timeo.c index 930bf946d..65161ca1d 100644 --- a/nuttx/net/net-timeo.c +++ b/nuttx/net/net-timeo.c @@ -41,7 +41,7 @@ #if defined(CONFIG_NET) && defined(CONFIG_NET_SOCKOPTS) && !defined(CONFIG_DISABLE_CLOCK) #include -#include +#include #include "net-internal.h" /**************************************************************************** diff --git a/nuttx/net/net-timeval2dsec.c b/nuttx/net/net-timeval2dsec.c index 401d8bcee..eb68fc4e5 100644 --- a/nuttx/net/net-timeval2dsec.c +++ b/nuttx/net/net-timeval2dsec.c @@ -43,6 +43,7 @@ #include #include #include +#include #include "net-internal.h" diff --git a/nuttx/net/recvfrom.c b/nuttx/net/recvfrom.c index d4a1898c9..318f0d1bf 100644 --- a/nuttx/net/recvfrom.c +++ b/nuttx/net/recvfrom.c @@ -45,6 +45,7 @@ #include #include #include +#include #include "net-internal.h" diff --git a/nuttx/sched/clock_internal.h b/nuttx/sched/clock_internal.h index 2b1346880..3c394520c 100644 --- a/nuttx/sched/clock_internal.h +++ b/nuttx/sched/clock_internal.h @@ -42,7 +42,7 @@ #include #include -#include +#include #include /******************************************************************************** diff --git a/nuttx/sched/mq_descreate.c b/nuttx/sched/mq_descreate.c index 98026ad19..69ddf999c 100644 --- a/nuttx/sched/mq_descreate.c +++ b/nuttx/sched/mq_descreate.c @@ -45,7 +45,6 @@ #include #include #include -#include #include "os_internal.h" #include "sig_internal.h" diff --git a/nuttx/sched/mq_getattr.c b/nuttx/sched/mq_getattr.c index 52292410e..71f2a87df 100644 --- a/nuttx/sched/mq_getattr.c +++ b/nuttx/sched/mq_getattr.c @@ -47,7 +47,6 @@ #include #include #include -#include #include "os_internal.h" #include "sig_internal.h" #include "mq_internal.h" diff --git a/nuttx/sched/mq_rcvinternal.c b/nuttx/sched/mq_rcvinternal.c index dcbfc0b31..853ac0bc1 100644 --- a/nuttx/sched/mq_rcvinternal.c +++ b/nuttx/sched/mq_rcvinternal.c @@ -46,7 +46,6 @@ #include #include #include -#include #include "os_internal.h" #include "mq_internal.h" diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h index 94da9bbbc..a54157cd8 100644 --- a/nuttx/sched/os_internal.h +++ b/nuttx/sched/os_internal.h @@ -43,7 +43,6 @@ #include #include #include -#include /************************************************************ * Definitions diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index c01778295..7591e8878 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -44,8 +44,10 @@ #include #include #include +#include #include -#include +#include +#include #include "os_internal.h" #include "sig_internal.h" #include "wd_internal.h" @@ -387,6 +389,17 @@ void os_start(void) } #endif + /* Initialize the network system */ + +#ifdef CONFIG_NET +#if 0 + if (net_initialize != NULL) +#endif + { + net_initialize(); + } +#endif + /* The processor specific details of running the operating system * will be handled here. Such things as setting up interrupt * service routines and starting the clock are some of the things diff --git a/nuttx/sched/pthread_setschedprio.c b/nuttx/sched/pthread_setschedprio.c index 8ff86a924..d5a5705dc 100644 --- a/nuttx/sched/pthread_setschedprio.c +++ b/nuttx/sched/pthread_setschedprio.c @@ -42,7 +42,6 @@ #include #include #include -#include #include "os_internal.h" /**************************************************************************** diff --git a/nuttx/sched/sched_free.c b/nuttx/sched/sched_free.c index ec2688c57..6078cc1b6 100644 --- a/nuttx/sched/sched_free.c +++ b/nuttx/sched/sched_free.c @@ -42,6 +42,7 @@ #include #include #include +#include #include "os_internal.h" /************************************************************ diff --git a/nuttx/sched/sched_getprioritymax.c b/nuttx/sched/sched_getprioritymax.c index f137b72c6..6c1125c07 100644 --- a/nuttx/sched/sched_getprioritymax.c +++ b/nuttx/sched/sched_getprioritymax.c @@ -40,7 +40,6 @@ #include #include #include -#include #include "os_internal.h" /************************************************************ diff --git a/nuttx/sched/sched_getprioritymin.c b/nuttx/sched/sched_getprioritymin.c index 154432c66..e8b62a5f8 100644 --- a/nuttx/sched/sched_getprioritymin.c +++ b/nuttx/sched/sched_getprioritymin.c @@ -40,7 +40,6 @@ #include #include #include -#include #include "os_internal.h" /************************************************************ diff --git a/nuttx/sched/sched_getscheduler.c b/nuttx/sched/sched_getscheduler.c index ae9739185..8eea5339e 100644 --- a/nuttx/sched/sched_getscheduler.c +++ b/nuttx/sched/sched_getscheduler.c @@ -42,7 +42,6 @@ #include #include #include -#include #include "os_internal.h" /************************************************************ diff --git a/nuttx/sched/sched_rrgetinterval.c b/nuttx/sched/sched_rrgetinterval.c index 8e0ca2824..ee4d4aea9 100644 --- a/nuttx/sched/sched_rrgetinterval.c +++ b/nuttx/sched/sched_rrgetinterval.c @@ -42,7 +42,6 @@ #include #include #include -#include #include "os_internal.h" #include "clock_internal.h" diff --git a/nuttx/sched/sched_setparam.c b/nuttx/sched/sched_setparam.c index 09b834873..e5a61c856 100644 --- a/nuttx/sched/sched_setparam.c +++ b/nuttx/sched/sched_setparam.c @@ -42,7 +42,6 @@ #include #include #include -#include #include "os_internal.h" /************************************************************ diff --git a/nuttx/sched/sched_setscheduler.c b/nuttx/sched/sched_setscheduler.c index 4d4978a62..7fee93118 100644 --- a/nuttx/sched/sched_setscheduler.c +++ b/nuttx/sched/sched_setscheduler.c @@ -43,7 +43,6 @@ #include #include #include -#include #include "os_internal.h" #include "clock_internal.h" diff --git a/nuttx/sched/sched_yield.c b/nuttx/sched/sched_yield.c index ae4db7178..edbb00abc 100644 --- a/nuttx/sched/sched_yield.c +++ b/nuttx/sched/sched_yield.c @@ -40,7 +40,6 @@ #include #include #include -#include #include "os_internal.h" /************************************************************ diff --git a/nuttx/sched/sig_internal.h b/nuttx/sched/sig_internal.h index 8ae975e42..93dee0904 100644 --- a/nuttx/sched/sig_internal.h +++ b/nuttx/sched/sig_internal.h @@ -44,7 +44,6 @@ #include #include #include -#include /************************************************************ * Definitions diff --git a/nuttx/sched/sig_procmask.c b/nuttx/sched/sig_procmask.c index 339e6dda5..2451f830d 100644 --- a/nuttx/sched/sig_procmask.c +++ b/nuttx/sched/sig_procmask.c @@ -47,7 +47,6 @@ #include #include #include -#include #include "os_internal.h" #include "sig_internal.h" diff --git a/nuttx/sched/sig_releasependingsignal.c b/nuttx/sched/sig_releasependingsignal.c index 198c145df..0c5a74595 100644 --- a/nuttx/sched/sig_releasependingsignal.c +++ b/nuttx/sched/sig_releasependingsignal.c @@ -47,7 +47,6 @@ #include #include #include -#include #include "os_internal.h" #include "sig_internal.h" diff --git a/nuttx/sched/sig_removependingsignal.c b/nuttx/sched/sig_removependingsignal.c index c31c0bbe7..7ee9752fc 100644 --- a/nuttx/sched/sig_removependingsignal.c +++ b/nuttx/sched/sig_removependingsignal.c @@ -47,7 +47,6 @@ #include #include #include -#include #include "os_internal.h" #include "sig_internal.h" diff --git a/nuttx/sched/task_delete.c b/nuttx/sched/task_delete.c index 86a796ab7..691b7c57e 100644 --- a/nuttx/sched/task_delete.c +++ b/nuttx/sched/task_delete.c @@ -41,7 +41,6 @@ #include #include -#include #include "os_internal.h" #ifndef CONFIG_DISABLE_SIGNALS # include "sig_internal.h" diff --git a/nuttx/sched/task_restart.c b/nuttx/sched/task_restart.c index 399bcb6e5..3d682eb3d 100644 --- a/nuttx/sched/task_restart.c +++ b/nuttx/sched/task_restart.c @@ -41,7 +41,6 @@ #include #include #include -#include #include "os_internal.h" #include "sig_internal.h"